Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A little competition :-)
Message
De
04/12/2002 15:17:26
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00729533
Message ID:
00729587
Vues:
14
>Hi, Hilmar!
>
>>>
>CanEdit perhaps?
><<
>
>No that doesn't meet the point <s>!
>
>The problem is this property says to 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?

How about lReflectEnabled, since the property should reflect the Enabled property?
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform