Preconfiguration "Analog clock"
Creates the
PmgCanvas object configured as analog clock.
This preconfiguration can be activated when
creating a new Pmg object and is included in the group:
" / Meter".
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's 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:
Object name | Name (identifier) of the Pmg object. It is used to obtain 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, empty string, spaces and the first character must not be a number. |
---|