Sets the focus to the specified table window cell (row and column). Puts the table window into edit mode and lets the user select a portion of the data in the cell.

Namespace: PPJ.Runtime.Windows
Assembly: PPJ.Runtime.2 (in PPJ.Runtime.2.dll) Version: 2.0.1044.0 (2.0.1044.5276)

Syntax

C#
public SalBoolean SetFocusCell(
	SalNumber rowNum,
	Control column,
	SalNumber editMin,
	SalNumber editMax
)

Parameters

rowNum
Type: PPJ.Runtime..::..SalNumber
The row that receives the edit focus.
column
Type: System.Windows.Forms..::..Control
The handle (or name) of the column that receives the edit focus.
editMin
Type: PPJ.Runtime..::..SalNumber
The position of the left-most character. When used with nEditMax, this parameter lets the user select a portion of the cell text. nEditMin must be less than or equal to nEditMax. To select all the characters in a cell, specify zero (0) for this parameter and -1 for nEditMax.
editMax
Type: PPJ.Runtime..::..SalNumber
The position of the right-most character. When used with nEditMin, this parameter lets the user select a portion of the cell text. nEditMax must be greater than or equal to nEditMin. To select all the characters in a cell, specify -1 for this parameter and zero (0) for nEditMin.

Return Value

See Also