Page 1 of 1

there is a problem on ListView Control

Posted: Thu Jul 05, 2018 3:58 pm
by abood1987
Hi Serkan

there is a problem on ListView Control :
Is to take more left Double Click and more time and several attempts to enable this property and also enable the emergence of re-writing is not good . i means Look at the appearance of the input element not the right size

Re: there is a problem on ListView Control

Posted: Fri Jul 13, 2018 6:34 pm
by Serkan
Label editing is not finished in the listview control
That listview control and the inplace edit control is totally part of Wndows Common Controls
there is not any custom part in it therefore what you see is your operating system

The delay in label editing is due to an event which is called to ask whether to allow user to edit that item
Since this event is not handled internally , Windows OS makes its own decision after sent 2 messages to owner
And this causes delay , in the other side there should be more time than Double Click Time between 2 mouse clicks
Because it is intended as Double Click not edit request ,this works exactly same as Windows Explorer

If you want to setup listview to enter item editing for some conditions ,such as double click then you can use BeginLabelEdit(item);
to initate label editing , or you can even setup it to edit an item with single (left or right) mouse click , or enter key
or whatever you want