Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form Toolbar
Message
De
22/10/2002 08:47:58
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
CodeMine
Titre:
Divers
Thread ID:
00713287
Message ID:
00713814
Vues:
17
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform