Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calling thisform brevity
Message
De
17/01/2008 10:50:19
 
 
À
17/01/2008 04:36:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01282499
Message ID:
01282599
Vues:
7
>Hi
>I have form with many Reports queries option (Page frame with almost 100 queries- crazy client).
>In the top I have combo box for year selecting (how many .. in year...).
>My question is:
>1.
>I have to get many times the year (iear=val(thisform.combyear.DisplayValue))
>I can add method 'YearQuery' and to add the code 'return val(thisform.combyear.DisplayValue)', but I have to call thisform.yearquery().
>It is not problem to do it few times but I want to know if there is shurt way (for example to add somewhere store 'thisform.yearquery()' to ty and I can type &ty
>

You can set up this kind of shortcut in IntelliSense.

Open the IntelliSense Manager
Click Custom
In the Replace textbox, type your abbreviation: ty
In the With textbox, type the expanded version: ThisForm.YearQuery().
Click OK.

Tamar
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform