Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Init does not fire
Message
From
10/10/2007 18:37:00
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
10/10/2007 18:18:23
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
01259860
Message ID:
01260175
Views:
14
>>>>Read the help
>>>
>>>I did. Twice. If there is a clue there I'm missing it.
>>
>>"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".
>
>Thanks Sergey.
>So if I understand you correctly, if the memberclass of a subclassed group has been modified, the form will fire the code in the subclassed definition as written in the class designer, but not any modifications to that code which are written in the form designer. Correct?
>
>And this is documented and is not to be considered a bug? Is there a good reason for this or did the MS author just get tired and not finish the project?

Pretty much seems like a "yes" somewhere around there.

You may move that code elsewhere - not init - and have it run from the group's .init(), still not too late. Or even better, have a post init hook in the button's class and have that hook used in the instances on the form.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform