FocusedRow - property of the PmgWTable object
Description:
Row index of focused cell (the current cell that has the focus) (zero-based index, counted including the fixed part).
Note:
Property access
for read and write.
In order to make the modification visible on writing, it is necessary to call the
Draw method.
If no cell is focused then the property returns the
-100 value.
If the
-100 value (or obsolete
-1) is set into the property then no cell has focus.
This property is also functional in
Web panels.
Example:
JavaScriptVBScriptSelect and copy to clipboard
var oTable = pMe.Items("/Table");
var nFocusedRow = oTable.FocusedRow;
// Reading from the property
oTable.FocusedRow = 5;
// Writing into the property
Dim oTable
Set oTable = pMe.Items("/Table")
Dim nFocusedRow
nFocusedRow = oTable.FocusedRow
' Reading from the property
oTable.FocusedRow = 5
' Writing into the property