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:
00290923
Views:
12
Loren,

It's a good habit to use to distinguish methods from properties. You also must use () if you call a method and want to get it's return value. It doesn't matter if the method takes arguments.

Is the band Chilliwack still around? I'd love to be able to find a CD or two of theirs.

>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?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform