Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Design time event handler - part 2
Message
From
16/05/2007 16:43:38
 
 
To
16/05/2007 16:37:16
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
01225893
Message ID:
01226165
Views:
21
>>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.

I'll have to think about that some. You'd also need a counter for the handler, in case more than one designer is using it.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform