Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to make sure class A init runs before class B's init
Message
De
14/09/2004 08:58:17
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
14/09/2004 08:53:20
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00941850
Message ID:
00941873
Vues:
26
Agnes,
Yes AFAIK changing Zorder affects instantiation order.
Cetin

>Hi Cetin,
>
>You are right that dealing with problems like this in an objects INIT is no good idea.
>
>But I have no idea what "send to back/front" you mean. The only "send to back/front" I know deals with ZOrder. Does this realy change the order of creating objects at runtime?
>
>Agnes
>
>
>
>>>I had to add a class (optiongroup) to a form.
>>>
>>>Another class (combo) init relies on the optiongroup already being initialized.
>>>
>>>How can I change the order of things being initialized in the form designer?
>>>
>>>TIA
>>
>>Peter,
>>You might change that by 'send to back/front'. However instead of trusting it (and later form might be touched) I generally move their custom init code to form init.
>>Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform