Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Controls
  New Posts New Posts RSS Feed - Listbox select item
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Listbox select item

 Post Reply Post Reply
Author
Message
tobi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 September 2004
Location: Germany
Status: Offline
Points: 451
Post Options Post Options   Thanks (0) Thanks(0)   Quote tobi Quote  Post ReplyReply Direct Link To This Post Topic: Listbox select item
    Posted: 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 ...


Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
tobi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 September 2004
Location: Germany
Status: Offline
Points: 451
Post Options Post Options   Thanks (0) Thanks(0)   Quote tobi Quote  Post ReplyReply Direct Link To This Post 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
 
Back to Top
tobi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 September 2004
Location: Germany
Status: Offline
Points: 451
Post Options Post Options   Thanks (0) Thanks(0)   Quote tobi Quote  Post ReplyReply Direct Link To This Post Posted: 23 April 2009 at 3:38am
What do you think about it Oleg ?
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 24 April 2009 at 1:35am
Hi,
 
Think its good suggestion that already implemented for next release :)
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
tobi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 September 2004
Location: Germany
Status: Offline
Points: 451
Post Options Post Options   Thanks (0) Thanks(0)   Quote tobi Quote  Post ReplyReply Direct Link To This Post Posted: 24 April 2009 at 2:03am
Hi Oleg,

is it possible to get a beta with this feature to continue my project ?

Thanks
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 24 April 2009 at 2:22am
Hello,
 
Open new issuetrack issue, will attach it to test.
 
Thanks
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
tobi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 September 2004
Location: Germany
Status: Offline
Points: 451
Post Options Post Options   Thanks (0) Thanks(0)   Quote tobi Quote  Post ReplyReply Direct Link To This Post Posted: 24 April 2009 at 2:30am
Done #21527

Thanks a lot
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.203 seconds.