
This method will activate a text box to edit a cell. The style argument accepts a numeric value that indicated the style of the text box to be used.
Returns the following according to the situation:
The recommended convention is passing the control identifier directly:
Copy Code |
|---|
(Odcl_Grid_ShowTextBox MyControlReference [as Reference] nRowIndex [as Integer] nColIndex [as Integer] nStyle [as Integer]) |
An alternative convention is to identify the control by providing the project file, the dialog name and the control name:
Copy Code |
|---|
(Odcl_Grid_ShowTextBox ProjectFile [as String] DialogName [as String] ControlName [as String] nRowIndex [as Integer] nColIndex [as Integer] nStyle [as Integer]) |
If the style does not match the pre-assigned value for the cell or column, then the pre-assigned value will be used.
Copy Code |
|---|
; Show the text box on the third row on the fourth column (Odcl_Grid_ShowTextBox MyProject_MyForm_MyControl 2 3 12) |
Grid_ShowComboBox, Grid_ShowEllipsesButton, Grid_ShowImageComboBox, Grid_ShowItemDlg, Grid_ShowPickButton