Promotic
WikipediaLinkedInYoutubeTwitterFacebook

GetColInfo - method of the PmgEventViewer object

Description:
Returns information regarding the properties of viewer columns.
Syntax:
Variant GetColInfo(String sWhat, String vColId)
Parameters:
sWhat(String) Obtained information type.
width - "width", "title", "id"=("area", "source", "desc", "comment", "priority", "ton", "toff", "tack", "gid")
count - the vColId parameter must be: null for JavaScript or Empty pro VBScript.
vColId(String) string: Id, number:index
Return values:
Returns the information value.

If the vColId parameter does not exist then the method returns: null for JavaScript or Empty pro VBScript (it can be tested by the Pm.IsValid method).

Example:
JavaScriptVBScriptSelect and copy to clipboard

var oViewer = pMe.Items("/Viewer");
var sTitle = oViewer.GetColInfo("title", 1);

History:
Pm9.00.00: Created
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