Promotic
WikipediaLinkedInYoutubeTwitterFacebook

onCellClicked - event of the PmgWTable object

Description:
The event is triggered when cell receives mouse left button click.
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) Row of clicked cell (zero-based index, counted including the fixed part).
pEvent.Col - (Long) Column of clicked cell (zero-based index, counted including the fixed part).
pEvent.Ctrl - (Boolean) Indication of concurrent pressing the Ctrl key.
pEvent.Shift - (Boolean) Indication of concurrent pressing the Shift key.
pEvent.Alt - (Boolean) Indication of concurrent pressing the Alt key.
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:
The value of the cell that has been clicked by mouse is entered into the val variable
JavaScriptVBScriptSelect and copy to clipboard

var val;
var oTable = pMe.Acx;
val = oTable.GetCellText(nRow, nCol);
PROMOTIC 9.0.10 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