Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Refresh method
Message
 
 
À
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:
00482340
Vues:
13
Hi Steve,

Thanks a lot, but this is not MY code. I'm also a great believer in one-lines, and in my optimized copy of our classes I used only this technique everythere.

Anyway, thanks for the support (see the whole thread).

>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)
If it's not broken, fix it until it is.


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

Click here to load this message in the networking platform