![]() |
Listbox select item |
Post Reply
|
| Author | |
tobi
Senior Member
Joined: 09 September 2004 Location: Germany Status: Offline Points: 451 |
Post Options
Thanks(0)
Quote Reply
Topic: Listbox select itemPosted: 19 April 2009 at 9:49am |
|
How can I make the listbox also select the current item when itīs clicked with the right mouse button ?
I want this to display a context menu after selecting the item with right mouse click ... |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 20 April 2009 at 2:39am |
|
Hi,
You can try manually select item in Handler
ListBox1.ListIndex ~= ListBox1.TopIndex + y / (itemHeight)
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
tobi
Senior Member
Joined: 09 September 2004 Location: Germany Status: Offline Points: 451 |
Post Options
Thanks(0)
Quote Reply
Posted: 21 April 2009 at 9:42am |
|
Hi Oleg,
I think that will make trouble ! How do I get itemHeight when I use Markup with dynamic markup text and height ?
Isnīt it possible to implement a function like IndexFromPoint ? This is implemented in the .net listbox and would ease this ...
Kind regards
|
|
![]() |
|
tobi
Senior Member
Joined: 09 September 2004 Location: Germany Status: Offline Points: 451 |
Post Options
Thanks(0)
Quote Reply
Posted: 23 April 2009 at 3:38am |
|
What do you think about it Oleg ?
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 24 April 2009 at 1:35am |
|
Hi,
Think its good suggestion that already implemented for next release :)
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
tobi
Senior Member
Joined: 09 September 2004 Location: Germany Status: Offline Points: 451 |
Post Options
Thanks(0)
Quote Reply
Posted: 24 April 2009 at 2:03am |
|
Hi Oleg,
is it possible to get a beta with this feature to continue my project ? Thanks |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 24 April 2009 at 2:22am |
|
Hello,
Open new issuetrack issue, will attach it to test.
Thanks
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
tobi
Senior Member
Joined: 09 September 2004 Location: Germany Status: Offline Points: 451 |
Post Options
Thanks(0)
Quote Reply
Posted: 24 April 2009 at 2:30am |
|
Done #21527
Thanks a lot |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |