Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reset Object's Default Property Value
Message
De
09/05/2001 11:35:56
 
 
À
09/05/2001 10:25:14
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00505278
Message ID:
00505317
Vues:
19
This message has been marked as a message which has helped to the initial question of the thread.
>Is there a command to reset an object's default setting for a property? I've needed this a number of times in the past, but currently I'm changing the Top property value for an editbox on GotFocus and want to reset it to its default value on LostFocus without having to track the value in code or in a new property. Thanks!
>
>Regards, Renoir

Just to add to Duncan's accurate info, it was mentioned in another thread that unless you know the particular control has the ResetToDefault() mthod, you might want to use PEMSTATUS() to make sure it does since some controls do not have it and an error will be thrown.

Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform