Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Auto generate code to form method during design time
Message
De
19/02/2006 22:54:40
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Auto generate code to form method during design time
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
SAMBA Server
Database:
MySQL
Divers
Thread ID:
01097458
Message ID:
01097458
Vues:
56
I assign controlSource of form.grid1.columns manually in form.init method design time.

eg.

form1.init :

THISFORM.grid1.colSup.controlSource = 'cPO.supId'
THISFORM.grid1.colDate.controlSource = 'cPO.date'
THISFORM.grid1.colQty.controlSource = 'cPO.qty'
.
.
.


Could I just press a key(eg.F2) by using ON KEY LABEL or using INTELLISENSE feature to automatically generate the 1st portion of the above code eg.



THISFORM.grid1.colSup.controlSource =
THISFORM.grid1.colDate.controlSource =
THISFORM.grid1.colQty.controlSource =



TIA
Répondre
Fil
Voir

Click here to load this message in the networking platform