Preconfiguration "Analog clock"
Creates the
PmgCanvas object configured as analog clock.
This preconfiguration can be activated when
creating a new Pmg object.
This preconfiguration is included in the
"/ Meter" group.
This object contains embedded
PmgCanvas object named "
Dynamic". This object controls the movement of the clock hands by using the variable named "
vTime". The value of this variable is defined in the
onRefresh event by the
Pm.Time method.
Additional configuration variables are located at the beginning of
context itself, or at the beginning of designer method. The following items can be set:
- majTicks number of main ticks
- minTicks number of minor ticks (between the main ticks)
- bgColor1 and bgColor2 clock background color
These configurators can be set before the preconfiguration is created:
The name of created object | Name (identifier) of the Pmg object. It is used for obtaining the Pmg object by the PmgObject.Items method.
This configurator sets the initial value of the Name property.
The maximum name length is 30 characters.
This is a system name, so it must contain only alphanumeric and must not contain any diacritics (i.e. national dependent characters), empty string, spaces and first character must not be a number. |
---|