Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why doesn't the init event work?
Message
De
04/05/2005 14:01:07
 
 
À
04/05/2005 07:03:26
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01009153
Message ID:
01010939
Vues:
23
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform