Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form Toolbar
Message
From
22/10/2002 08:47:58
 
General information
Forum:
Visual FoxPro
Category:
CodeMine
Title:
Miscellaneous
Thread ID:
00713287
Message ID:
00713814
Views:
16
>Notice there is a SPACE after Form before the the '. Is this a typo, or is the Space needed you think?

Nope. Its not a typo. If you look at the FORM action names (in the table I referred you to), they all have a space between the word FORM and the rest of the action name. So, whilst you don't have to include the space (you would refresh every action than begins with the word FORM), you may get a few that you dont want as well - say you had defined a custom action of your own called FORMMEL, by specifying Refreshall('FORM'), you would also refresh the action FORMMEL. If you specify refreshall('FORM ') (with the extra space), you will get "FORM SAVE", "FORM CANCEL", "FORM NEW" etc., but you will not get "FORMMEL" (because there is no embedded space in the action name after the word "FORM". Adding the space just gives you a more specfic wildcard match for the ones you want. In you action naming conventions, using patterns like this allow you to refresh a whole series of actions in a very specific way.

Best
-=Gary
Previous
Reply
Map
View

Click here to load this message in the networking platform