Promotic
WikipediaLinkedInYoutubeTwitterFacebook

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
- after 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 object describing detailed information about the specific event.
pEvent.Row - (Long) The row of cell, which receives focus (zero-based index, counted including the fixed part).
pEvent.Col - (Long) The column of cell, which receives focus (zero-based index, counted including the fixed part).
pEvent.RowOld - (Long) The row of cell that lost the focus (zero-based index, counted including the fixed part).
pEvent.ColOld - (Long) The column of 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.
Example:
JavaScriptVBScriptSelect and copy to clipboard

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

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice