Promotic
WikipediaLinkedInYoutubeTwitterFacebook

GetSel - method of the PmfTable object

Description:
Detects selected rows or cells.
Syntax:
Variant GetSel(Long nType)
Calling:
val = oTable.GetSel(0)
Parameters:
nType(Long) Must always be the value 0.
Return values:
The return values depends on the 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 - selected row
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)

History:
Pm9.00.04: Created
PROMOTIC 9.0.12 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