Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

pbm_lbuttondown and pbm_lbuttonup events

Status
Not open for further replies.

tinac99

Programmer
Jan 17, 2002
58
US
Hi,

I have a custom visual user object which contains a datawindow(standard visual user object). I added the pbm_lbuttondown and pbm_lbuttonup events in the datawindow. During runtime, the scripts in these events are not being executed(I was just setting an instance boolean variable to true/false) whenever I click on the left mouse button.
Can anyone please shed a light as to why this is happening?

Thanks,

Tina C.
 
Hi Tina
I tried as u said, and it worked.
I created a custom visual UO named uo_button and added a Dw to it. in the DW, i defined a userevent called pbm_rbuttondown. i triggered this event from the rbuttondown event of the Dw. i put the UO in a window and thats all.
at run time when i right click in the scope of the DW, the pbm_rbuttondown event is fired.

where did u go wrong??

Arun S.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top