Thanks Vlad, it worked!
Sincerely,
Alvin Lu
At the mouse down event
if button=2
lrightclick=.t.
endif
lrightclick must be public
then at the nodeclick event
if lrightclick
activate popup
...
lrightclick=.f.
endif
>Probably, you should use Mousedown with MouseUp events to achieve what you
>want.
>
>>Because tree view doesn't have a right click event (i wonder why?) i
>tried to simulate
>>on key label rightclick lRightclick=.t.
>>however "on key label" works only if you click outside the tree view box
>not when you click a node.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only