Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Object PmgSlider (Slider)

Description:

It is determined for entering a numeric value by the slider. On running the application it is possible to change the slider value either by dragging the slider or by clicking one of the arrows or by clicking the slider background. The value is then fluently changed in the ValueMin, ValueMax range.

The slider value is accessible by means of the Value property. Its data binding specifies the variable into which the value corresponding to the slider button position is transferred in the runtime mode. The data binding is here "for read and write", it means that if the value of the data binding is changed by other methods (e.g. in the script), then the change of this value is reflected into the slider button position.

The slider doesn't contain a visible scale, entering the value is only for the orientation. If it is necessary to show the scale or the entered value, then it can be used the more complex PmgSliderPane object.

For numeric entering the value the PmgWEdit object (entering the value on the place in the object) can be used.

This object adopts properties and methods of object PmgPane.
Properties and methods:
Value Value corresponding to slider button
ValueMax High limit of entered value
ValueMin Low limit of entered value
Events:
onDataEditAccept Is triggered after final change of the object content
Configuration windows:
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 methods in the Pmg object
Panel Setting the background area of the Pmg object
Slider Slider configuration.
See also:

History:
Pm9.00.00: Object name changed: PmiSlider -> PmgSlider
PROMOTIC 9.0.4 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