Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Design time event handler
Message
De
09/05/2007 14:48:38
 
 
À
09/05/2007 12:53:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01221889
Message ID:
01223937
Vues:
38
>>>>>>>Sure, you could write a wrapper around MODIFY FORM and MODIFY CLASS to set that flag, but what would you use to reset it?
>>>>>>
>>>>>>If you write a wrapper, can you add resetting of a flag in a wrapper? E.g. check window existance? Just an idea, haven't thought about it and besides, you can put some macro to reset the flag...
>>>>>
>>>>>I don't think so, because once you start the Designer, you wrapper would have finished. You'd need some kind of event handler for when the designer closed.
>>>>
>>>>MODIFY FORM [FormName | ?][NOWAIT][METHOD MethodName]
>>>> [NOENVIRONMENT][SAVE]
>>>> [[WINDOW WindowName1] [IN [WINDOW] WindowName2 | IN SCREEN]]
>>>>
>>>>Can you define a form as a window and reset the flag in form's destroy?
>>>
>>>MODIFY CLASS doesn't have that option.

Actually, I just tried it (despite what the documentation says) and yes, MODIFY CLASS does support the IN WINDOW clause.
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