Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setfocus() vs Setfocus
Message
 
To
13/11/1999 08:37:21
Loren Fedje
Loren D. Fedje & Associates Ltd.
Chilliwack, British Columbia, Canada
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00290908
Message ID:
00290917
Views:
13
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform