Promotic

onCellFocusChanged - event of the PmgWTable object

Description:
The event is triggered if the cell focus is changed for example:
- by clicking the mouse on not focused cell
- by pressing key (up key, down key, left key, right key ..)
Parameters:
pMe(Object) Reference to the PmgWTable object where the event rises.
pEvent(Object) Reference to the object describing detailed information about the specific event.
pEvent.Row - (Long) [for reading] The row of the cell that receives focus (zero-based index, counted including the fixed part).
pEvent.Col - (Long) [for reading] The column of the cell that receives focus (zero-based index, counted including the fixed part).
pEvent.RowOld - (Long) [for reading] The row of the cell that lost the focus (zero-based index, counted including the fixed part).
pEvent.ColOld - (Long) [for reading] The column of the cell that lost the focus (zero-based index, counted including the fixed part).
Note:
The event is triggered only if Interaction property is set to 1, 2 or 3.

This event is also functional in Web panels.
See also:
Example:
JavaScriptVBScriptSelect and copy to clipboard

pMe.SetCellBackColor(pEvent.RowOld, -3, "transparent");
pMe.SetCellBackColor(pEvent.Row, -3, "#009898");
pMe.Draw();
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

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