Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setfocus() vs Setfocus
Message
 
À
13/11/1999 08:37:21
Loren Fedje
Loren D. Fedje & Associates Ltd.
Chilliwack, Colombie Britannique, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00290908
Message ID:
00290917
Vues:
12
>I have seen that in most of the code that I have read, Setfocus and Refresh are always followed by (). In my code I have not used the brackets and all works fine. Is it just a standard rule to use the brackes or am I going to run into problems later by writing sloppy code?

I think the convention is to use the () to distinguish a method from a property. In the case of SetFocus() and Refresh(), it's obvious, but for other methods, it may cause confusion.
Chris McCandless
Red Sky Software
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform