FocusedCol - property of the PmgWTable object
Description:
Column 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 nFocusedCol = oTable.FocusedCol;
// Reading from the property
oTable.FocusedCol = 3;
// Writing into the property
Dim oTable
Set oTable = pMe.Items("/Table")
Dim nFocusedCol
nFocusedCol = oTable.FocusedCol
' Reading from the property
oTable.FocusedCol = 3
' Writing into the property