Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Refresh method
Message
De
06/03/2001 00:52:12
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Titre:
Divers
Thread ID:
00482006
Message ID:
00482123
Vues:
11
Slightly off topic ...

your code

IF THISFORM.ADD_MODE OR THISFORM.EDIT_MODE
this.enabled=.t.
ELSE
this.enabled=.f.
ENDIF

can equally be expressed as

this.enabled=(THISFORM.ADD_MODE OR THISFORM.EDIT_MODE)


saves a little typing !

Steve
(a great beiever in one liners)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform