Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Where to put Implements?
Message
De
22/01/2004 09:43:06
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00868196
Message ID:
00869471
Vues:
20
>You should read it as: Bind the event YourHook from the object this.oSoap, to the method CustomDelegateMethod of the object this (in this context, your form).
>
>Try this to understand BindEvent. Create a blank form and put just:
>
>* Form Init
>BindEvent( _Screen, "Resize", this, "MyDelegate" )
>
>* Create a MyDelegate custom method and write this code in in:
>this.Caption = transform( _Screen.Width ) +" x "+ transform( _Screen.Height )
>
>
>Now run the form and resize the VFP desktop to different sizes. Your form will trap the event and reflect it in its caption.

Thanks, I never used that but will make good use of it when needed.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform