BBjGrid::setStartEditSelectionMode
Description
In BBj 10.00 and higher, this method sets the selection mode that will be used when a cell in a BBjGrid is edited.
Syntax
Return Value |
Method |
void |
setStartEditSelectionMode(int mode) |
Parameters
Variable |
Description |
|
mode |
Specifies the selection mode used: |
|
|
START_EDIT_SELECTS_START |
For InputE and InputD, places cursor at beginning of text when editing starts. For InputN places cursor at beginning of number (but skipping over any minus sign) when editing starts. |
|
START_EDIT_SELECTS_ALL |
Selects all text selected when editing starts |
|
START_EDIT_SELECTS_END |
For InputE and InputD, places cursor at end of text when editing starts. For InputN, places cursor at end of number (end of integer part if the number contains a decimal) when editing starts. |
Return Value
None.
Remarks
By default, the highlight method is START_EDIT_SELECTS_ALL.
Example
|
See Also
BBjGrid::getStartEditSelectionMode
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.