Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Where to put Implements?
Message
From
22/01/2004 09:43:06
 
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00868196
Message ID:
00869471
Views:
21
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform