Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I set the property of a button from a procedure?
Message
 
 
À
17/04/1998 15:22:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00092543
Message ID:
00093018
Vues:
39
>>>I use following structure:
>>>***Main.Prg
>>>set procedure to sysproc
>>>do header && some settings here
>>>oApp=createobject("clApp")
>>>do form topform name oApp.topform && start top-level form
>>>read events
>>>do footer && some cleaning here
>>>return
>>>
>>>define class clApp as custom
>>> topform=.NULL.
>>>enddefine
>>
>>Gotcha. You then have your app menu associated with (started by or part of?) the top level form in which everything else runs.
>
>Yes, if project based on top-level form (honestly, i just finished my first one:) then i start app menu from Topform.Init
>BTW, i made typo in previous reply. It should be
>do form topform name oApp.topform LINKED

Yeah, that part I understood. Now that all this is hammered out, *we* have the basis for a FAQ (if not one already).
Mark McCasland
Midlothian, TX USA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform