Blinker - property of the Pm object
Description:
Change
true and
false value with the period specified in the "
Panels timer period" configurator of the
PmaRoot object.
This method is obsolete (but functional) because it can be replaced by setting the object variable - see
Example.
Note:
Property access for
read-only.
This property
is not functional in
Web panels
Common using is like a data binding to the selected
Pmg object and his "
Visible" configurator
in the graphics editor. Then the object with such binding is blinking.
Example:
The
Pm.Blinker property can be replaced by setting the user variable of the
Pmg object (this is functional also for
Web panels). Procedure:
In the
Pmg object that you want to blink, can be created
variable of the
Boolean type, e.g. named "
Blinker". This variable can then be set in the
onRefresh event:
JavaScriptVBScriptSelect and copy to clipboard
var oB = pMe.Vars("Blinker");
oB.Value = !oB.Value;
Dim oB
Set oB = pMe.Vars("Blinker")
oB.Value = Not oB.ValueThen e.g. in the "
Visible" configurator the "
GP" data binding can be created and set:
-
Pmg object: the
. character (period) as a path to the object itself