Promotic
WikipediaLinkedInYoutubeTwitterFacebook

GetPar - method of object PmObject

Description:
Reading the value of the of the PROMOTIC object parameter. If the parameter is not present in this object, then the parents of the object are searched the cascade way (bubbling).
Syntax:
GetPar(sPar As String) As Variant
Calling:
value = oObject.GetPar(sPar)
Parameters:
sPar(String) The name of the PROMOTIC object parameter (case sensitive text).
Return Values:
Returns the value of the PROMOTIC object parameter. If an error occures the Empty value is returned.
Example:
Reads the value of the PROMOTIC object parameter named abc. This parameter can be defined in oObject PROMOTIC object or in its parents.
x = oObject.GetPar("abc")
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice