Purpose
Creates a default control for the input in a data cell.
Class
Type
Method
Syntax
<oBrowser>:EditCreate(
<iColumn>,
<nRowNo>,
<nRecNo>,
<symControlClass>,
<iStyle>,
<uSpecial>
) Æ oControl
Arguments
<iColumn> | The column number of the data cell for which the control is to be created. The column number refers to the list of the opened columns (see also bBrowser:ColumnOpenList). |
Data Type: | Integer |
<nRowNo> | The row number of the data cell for which the control is to be created. |
Data Type: | Integer | Float | Real8 |
<nRecNo> | The record number of the data cell for which the control is to be created. |
Data Type: | Integer | Float | Real8 |
<symControlClass> | The name of the VO class for which the control is to be created. If the value NULL_SYMBOL is specified, a control is created dependent on the data type of the column value. |
Data Type: | Symbol |
<iStyle> | Style constants that are to be used with creating the control. The constants correspond to those that can be specified for creating the appropriate control in the method Init(). |
Data Type: | DWord |
<uSpecial> | A value that is to be used with creating the control. Which values can be specified are dependent on which control is to be created. The following table lists the possible values to the controls: |
Control |
Description |
ComboBox |
The type of the Combobox which can be created: •BOXDROPDOWN •BOXDROPDOWNLIST •BOXSIMPLE
Instead of the type of the Combobox an object of class bNameArray can be passed with the following values: •#ComboType •#ComboListHeightMax |
Data Type: | Usual |
Return Value
oControl | The created edit control. |
Data Type: | Object |
Description
bBrowser:EditCreate() created an edit control for a data cell and initialize it with the font, and the field specification of the associated data column.
The method is called by the browser if an input is activated in a data cell.
See Also
Page url: http://www.YOURSERVER.com/index.html?bbrowser_editcreate.htm