Promotic

Object PmgSlider (Slider)

Description:
Entering numeric value in the form of 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 inherits properties, methods and events of the PmgBox object.
Properties and methods of this object:
Value Value corresponding to slider button
ValueMax High limit of entered value
ValueMin Low limit of entered value
Properties and methods inherited from the PmgBox object:
BorderType Type of the box border
BorderWidth Width of the box border
ColorDark Dark color of the 3D Pmg object border
ColorItem Background color of the box
ColorLight Light color of the 3D Pmg object border
Properties and methods inherited from the PmgObject object:
AddEvent Registers a function into selected event
Blink Starts/stops blinking of the Pmg object
Dx Width of the Pmg object
Dy Height of the Pmg object
Enabled Enable/disable the control, i.e. user's inputs to the object
Focus Detects/set the focus of the Pmg object
GetChildByIndex Returns the nested Pmg object defined by order
GetChildCount Returns the number of nested Pmg objects
GetPathName Object name with the path to this object
GetItemInfo Returns special information regarding the Pmg object
GetPar Reading the value of the Pmg object parameter (or its parents)
IniDx Initial width of the Pmg object
IniDy Initial height of the Pmg object
IniX Initial X-position of the left upper corner of the Pmg object relative to superior object
IniY Initial Y-position of the left upper corner of the Pmg object relative to superior object
Items Returns reference to Pmg object
Methods Access to designer's methods of this object
MouseOn Identification if the mouse cursor finds itself over the Pmg object
Name The name of the Pmg object
Parent Returns reference to the parent Pmg object
Pm Returns the Pma object (obsolete)
PmPanel Returns reference to the PmaPanel object where the Pmg object is placed
Refresh Refresh of the Pmg object
RemoveEvent Deregisters the function in the specified event
Root Returns reference to the root PmgRoot object
ShowMenu Opens local menu of the Pmg object
ScreenX X-coordinate of the left upper corner of the Pmg object relative to computer screen
ScreenY Y-coordinate of the left upper corner of the Pmg object relative to computer screen
ToolTip Tooltip text of the Pmg object
Vars Returns the variable of the Pmg object
ViewX Position of X-coordinate of the left upper corner of the Pmg object relative to the PmgRoot object
ViewY Position of the Y-coordinate of the left upper corner of the Pmg object relative to the PmgRoot object
Visible Sets the visibility/invisibility of the Pmg object
X X-coordinate of the left upper corner of the Pmg object relative to superior Pmg object
Y Y-coordinate of the left upper corner of the Pmg object relative to superior Pmg object
Events of this object:
onDataEditAccept Is triggered after final change of the object content
Events inherited from the PmgObject 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
onRefresh Is triggered on the data refresh of the Pmg object
onKeyPress Is triggered after pressing or releasing the key of the keyboard
onMousePress Is triggered after pressing or releasing the left mouse button
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
onFocusIn Is triggered if the object receives focus
onFocusOut Is triggered if the object loses focus
Configuration tabs:
Object General information about the object
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
Box Setting the background area of the Pmg object
Slider Slider configuration.
Note:
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 PmgSliderBox object.
For numeric entering the value the PmgNumber object (entering the value on the place in the object) can be used.
See also:
- PmgSliderBox (object)

History:
Pm9.00.00: Object name changed: PmiSlider -> PmgSlider
PROMOTIC 9.0.18 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.