Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A little competition :-)
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00729533
Message ID:
00729568
Vues:
13
Hi, Mark!

>>
The name of the property should be something meaningful to you and whoever has to maintain your code should you pass it on to someone else.
<<

That was my idea!


>>
I would call it lUseFormEditStatus.
<<

Sounds not so good <s>, because this property says to the Enabled state of the button:
- If property = .T. -> button is enabled/disabled when ThisForm.lEditMode is enabled/disabled (e.g. a "save" button or a "revert" button)!
- If property = .F. -> button is disabled/enabled when ThisForm.lEditMode is enabled/disabled(e.g. a "edit" button or a "next" button)!
- If property = .NULL. -> no dependency between Button.Enabled and ThisForm.lEditMode!

Now the question again: What is a good name <vbg>?


>>
You are missing the ENDCASE. I would have code more like:
<<

Oooops - you're right!
SeBaFlu
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform