Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why doesn't the init event work?
Message
From
04/05/2005 14:01:07
 
 
To
04/05/2005 07:03:26
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turkey
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01009153
Message ID:
01010939
Views:
21
If this presents a problem to you, I'd suggest modifying your code so that it can be run from the OptionGroup.Init instead of from the Button's .Init.


>Thank you for clearly answer. :)
>
>>This is by ( bad ) design.
>>Help:
>>
>>Member Classes (Visual FoxPro)
>>

>>
>>
>>Note:
>>On an .scx form, if you add instantiation code to the member class's Init event,
>>Visual FoxPro disregards that code and only the Init code for the member class definition runs.
>>However, with visual class library (.vcx) forms, Visual FoxPro creates a true subclass.
>>You can safely add instantiation code for other events such as Click.
>>
>>
>>Another scx's problem is on the memberclass object's Name,
>>- at Init time, the name is not assigned.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform