Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Object PmgAnimImage (Animated image)

Description:
The Pmg object is used for displaying animated images (GIFs).
 
The PmgAnimImage object allows to set:
- background color (see the "Background color" configurator)
- enable animation (see the "Animation enabled" configurator)
 
The Pmg object doesn't include the data itself from the file, it is only the reference to the file. The designer must ensure so that the corresponding file is always accessible by the application - by correctly entering the filename and setting the path to the file. It is recommended to use the files located on #pmres: or #appres: paths only
This object adopts properties and methods of the PmgObject object.
Properties and methods:
ColorBg Background color
PlayEnabled Start/stop the animation
Src The file name with the path to the animated GIF file
Events:
onFocusIn Is triggered if the object receives focus
onFocusOut Is triggered if the object loses focus
onKeyPress Is triggered after pressing or releasing the key of the keyboard
onMenuFill Is triggered after pressing by the right mouse button over the Pmg object
onMenuSelect Is triggered on the selection of an item from the Pmg object local menu
onModeChange Is triggered when the Pmg object mode changes
onMousePress Is triggered after pressing or releasing the left mouse button
onRefresh Is triggered on the data refresh of the Pmg object
onStart Is triggered on the construction of the Pmg object in the course of opening the panel
onStop Is triggered on the destruction of the Pmg object in the course of closing the panel
Configuration tabs:
Object General information about the object
Content Content of the Pmg object in the XML form
Position Setting the position, width and height of the Pmg object
Variables List and configuration of user defined Pmg object variables
Events Algorithms definition for the object events
Methods Definition of designer's method of the Pmg object
Image Animation properties.
See also:
- PmgRasterImage (object)

History:
Pm9.00.00: Object name changed: PmiAnimImage -> PmgAnimImage
Pm8.02.00: Created
PROMOTIC 9.0.11 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice