Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Auto generate code to form method during design time
Message
From
19/02/2006 22:54:40
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Auto generate code to form method during design time
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
SAMBA Server
Database:
MySQL
Miscellaneous
Thread ID:
01097458
Message ID:
01097458
Views:
57
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
Reply
Map
View

Click here to load this message in the networking platform