Update cookies preferences
Promotic

GetSel - method of the PmfTable object

Description:
Detects selected rows or cells.
Syntax:
Variant GetSel(Long nType)
Parameters:
nType(Long) Must be always the 0 value.
Return value:
The return value depends on setting of the SelType property.
- If nothing is selected then null is returned.
- If the SelType is == "row" then the PmMap object is returned, containing set properties:
oRet.Row - the number of the selected row
oRet.Area - here is always the value 11, i.e. the row is always in the 11 = MainBody = Main data area area.
- If the SelType is == "cell" then the PmMap object is returned, containing set properties:
oRet.Row - the number of the selected row
oRet.Col - the number of the selected column
oRet.Area - here is always the value 11, i.e. the row is always in the 11 = MainBody = Main data area area.
Note:
This method is also functional in Web panels.
See also:
- PmfTable.SetSel (method)
- PmfTable.SelType (property)
Example1:
JavaScriptSelect and copy to clipboard

var val = oTable.GetSel(0);

History:
Pm9.00.04: Created
PROMOTIC 9.0.28 SCADA system documentation MICROSYS, spol. s r.o.

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