Object PmgSlider (Slider)
Entering numeric value by slider.
On running the application it is possible to change the slider value either by dragging the slider or by clicking the mouse on one of the arrows or by clicking the mouse on the slider background. The value is then fluently changed in the ValueMin, ValueMax range.
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|
|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 of designer's method of the Pmg object|
|Panel|| Setting the background area of the Pmg object|
|Slider|| Slider configuration.|
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 PmgNumber object (entering the value on the place in the object) can be used.
: Object name changed: PmiSlider