Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I place code programmatically in methods?
Message
 
 
À
01/11/2002 10:47:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00717836
Message ID:
00717841
Vues:
14
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--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform