Object PmiSlider (Slider)


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 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. by scripting), 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 graphic item PmiSliderPane.

For numeric entering the value it is possible to use the PmiWEdit graphic item (entering the value on the place in the item) or to enter the value by the Pm.InputBox method.

This object adopts properties and methods of object PmiPanel.
Properties and methods:
Value Value corresponding to slider button
ValueMax High limit of entered value
ValueMin Low limit of entered value
onDataEditAccept Fires after final change of the item content
Configuration windows:
Object General information about the object
Content Content of the graphic item in the XML form
Position Setting the position, width and height of the item
Subitems It is used for creating compound items
Variables List and configuration of user defined item variables
Events Algorithms definition for the object events
Methods Definition of designer's methods in the graphic item
Panel Setting the background area of the edited graphic item
Slider Slider configuration.
See also:
PROMOTIC 9.0.0 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