Promotic

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).
Syntax:
Long FocusedCol
Note:
Property access for read and write.
 
In order to make the modification visible after write, 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
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.