Vars - method of the PmaPanel object
Syntax:
Object Vars(String sName)
Parameters:
sName | (String) Name of the variable (case sensitive text) |
---|
Example:
JavaScriptVBScriptSelect and copy to clipboard
// Setting the numeric value into the property of the types Double, Integer, Boolean, etc.
pMe.PmPanel.Vars("Numvar").Value = 100;
// Setting the color into the Colorvar variable of the Color type.
pMe.PmPanel.Vars("Colorvar").Value = "#ff0000";
// color setting by RGB String in the form "#RRGGBB"
// Setting the font into the Fontvar variable of the Font type.
pMe.PmPanel.Vars("Fontvar").Value = "PmSmallBold";
' Setting the numeric value into the property of the types Double, Integer, Boolean, etc.
pMe.PmPanel.Vars("Numvar").Value = 100
' Setting the color into the Colorvar variable of the Color type.
pMe.PmPanel.Vars("Colorvar").Value = "#ff0000"
' color setting by RGB String in the form "#RRGGBB"
' Setting the font into the Fontvar variable of the Font type.
pMe.PmPanel.Vars("Fontvar").Value = "PmSmallBold"