General information
Category:
Coding, syntax & commands
Title:
Auto generate code to form method during design time
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only