Page 1 of 1
AlwaysShowSelection not working
Posted: 02 Jan 2014, 16:14
by Mex
Hi Timo and Happy New Year!
Is something changed in "AlwaysShowSelection"? For me this is not working any more.
I can see "dots" around the row, but no "gray" backgrond.
Updated:
This is not working, when I click somewhere outside filled rows in listview, but works when lisview is loosing focus.
Regards
Meelis
Re: AlwaysShowSelection not working
Posted: 02 Jan 2014, 20:13
by TiKu
Hi,
Well, clicking on the background of the control deselects all selected items. As there is no item selected anymore, no item will be drawn with a blue/gray background. In which version has this been different?
Regards
TiKu
Re: AlwaysShowSelection not working
Posted: 03 Jan 2014, 19:32
by Mex
Hi,
Just ignore and delete this post
Sry
Regards
Meelis
Re: AlwaysShowSelection not working
Posted: 21 Jan 2015, 10:55
by Mex
Hi
Silly question again
I click on item - carretitem is now the last clicked item
I click on the background of the listview, items are deselected, but the carretitem is still last selected/clicked item?
Regards
Meelis
Re: AlwaysShowSelection not working
Posted: 21 Jan 2015, 13:31
by TiKu
Yes, it is the same behavior as in Windows Explorer. If you want different behavior, you may handle the Click event and set the CaretItem to Nothing.
Regards
TiKu
Re: AlwaysShowSelection not working
Posted: 21 Jan 2015, 14:24
by Mex
TiKu wrote:Yes, it is the same behavior as in Windows Explorer. If you want different behavior, you may handle the Click event and set the CaretItem to Nothing.
Regards
TiKu
Thats what I did.
Thnx
Meelis