![]() |
(SOLVED) Nodeclick event in Treeview control |
Post Reply
|
| Author | |
pepsipela
Groupie
Joined: 15 May 2008 Location: Spain Status: Offline Points: 24 |
Post Options
Thanks(0)
Quote Reply
Topic: (SOLVED) Nodeclick event in Treeview controlPosted: 12 February 2009 at 10:54am |
|
Hi,
I am working with VB6 and Codejock controls 13.0.0 under Windows XP, I need to implement contextual menus into nodes of Treeview control, but the right mouse button doesn't fire nodeclick event, and the selected node not change. Any suggestion ? While i have pressed the mouse rigth button, the focus change to clicked node, but when i left the button the focus return to previous node. Thanks, |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 13 February 2009 at 2:42am |
|
Hi,
So add ContextMenu in MouseDown/Up event and use treeView1.HitTest method to find item under cursor.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
pepsipela
Groupie
Joined: 15 May 2008 Location: Spain Status: Offline Points: 24 |
Post Options
Thanks(0)
Quote Reply
Posted: 24 February 2009 at 4:06am |
|
Thanks for your help, this solution is working fine,
Regards |
|
![]() |
|
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 |