Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OCX not respond to mouse
Message
From
28/10/2003 19:44:03
 
 
To
28/10/2003 18:18:39
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00843862
Message ID:
00843882
Views:
15
Hi Jose

I have the same problem with the treeview control. I resolve the problem as follow:

In the doubleclik event of my OCX control I put this code:
thisform.timer_ejecuta_pantalla=.T.
In my form I have a property timer_ejecuta_pantalla. The default value is .F.

In this form I have a timer control wih the following code in the timer event:
IF THISFORM.timer_ejecuta_pantalla=.T.
	THISFORM.ejecutapantalla()
	THISFORM.timer_ejecuta_pantalla=.F.
ENDIF
In My form I have the ejecutapantalla() method to call to other form.

As you can see the ejecutapantalla() return to the timer not to the OCX control.

If you have a questions let me know.

Regards

Carlos
Carlos A. Miranda
E.I.S.lnc
President
Previous
Reply
Map
View

Click here to load this message in the networking platform