Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I place code programmatically in methods?
Message
 
 
To
01/11/2002 10:47:33
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00717836
Message ID:
00717841
Views:
13
Try
_Screen.AddObject("oResizer", "Resizer")

DEFINE CLASS Resizer AS Custom
     oScreen = _Screen

     PROCEDURE oScreen.Resize
        * Put code here
     ENDPROC
ENDDEFINE
In VFP8 you would use BINDEVENT() Function.

>Can someone help me with this? I want to place code in i.e. the method _screen.resize() so I can trigger some other functions.
>
>Is there any way to achieve checking the resizing of _screen and trigger some other functions. I already have something working with a timer, but this is nog a nice solution.
>
>Thanks in advance,
>
>Floris Rikken
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform