Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Design time event handler
Message
 
 
À
09/05/2007 12:25:23
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:
01223847
Vues:
28
>>>That is one thing I do like about .Net in that you have a DesignMode you can check and deal with things as needed. I think if you design things around that kind of paradigm, it would at least be somewhat familiar turf.
>>
>>I think the DesignMode Property can easily be made by such a property set to "=(_Vfp.startmode=0)", then you could put code in an eventhandler depending on object.DesignMode.
>>
>>But that may not be every aspect of design mode, is it?
>
>No, not really. I frequently run things within the IDE, so how would you be able to tell the difference between debugging an application and "DesignMode" using that method? There has to be some internal flag within VFP that knows the difference.

You can add this property to the screen object and set it back and forth.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform