Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Design time event handler - part 2
Message
From
16/05/2007 16:37:16
 
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
01225893
Message ID:
01226164
Views:
25
>Great! About the only change I'd make is:
>
TRY
>  _Screen.RemoveObject("AselobjTimer1")
>CATCH
>ENDTRY
>before the initial _SCREEN.AddObject().

Thanks. Yes, good idea. The other thing is, you surely want to remove the eventhandler from the _screen.oEventhandlers collection when the class unloads. I'll leave this task as "homework".

Bye, Olaf.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform