Slider Object
Home ] Up ] General Object Information ] Label Object ] Button Object ] Text Object ] Banner Object ] Scrolling Text Object ] List Object ] Drop-Down Object ] Check Box Object ] Plotting Object ] [ Slider Object ] Bar Object ] Meter and Gauge Objects ] Image Object ] Image Button Object ] Back, Timers and Reset Objects ]

 

The Slider Object is a quick and easy means for graphically adjusting a value. 

 The values for minimum, maximum and current are positive or negative integers.

bulletCreating:
Horizontal Slider

oHSlider.objName=L,T [,W,H,min,max,value]
Vertical Slider
oVSlider.objName=L,T [,W,H,min,max,value]
!POBJ oHSlider.sld1=5,40
!POBJ oHSlider.sld2=5,20,10,10,-100,100,75

bulletFunctions:
SET Value (.Set or omitted)
!POBJ objName=value[,min,max]
!POBJ sld1=30

Text Tip (.Tip)
Sets the text pop-up tip
!POBJ objName.Tip=Text string
!POBJ sld1.Tip=This is a tip!

Move (.Move or .M)
Moves the object to new coordinates/changes sizing
!POBJ objName.Move=[L,T,W,H]   or !POBJ objName.M=[L,T,W,H] 
!POBJ sld1.M=50,50,,10

Set Focus (.SF)
Sets the current focus of the application to the object
!POBJ objName.SF
!POBJ sld1.SF
 
bulletUpdate Value (.Update or .U)
Sets the value which will be used to update the object whenever a !POBJ Update is performed.
!POBJ obj.Name.U=[text]
!POBJ sld1.U=(AINVAL0)

bulletCode Event - (.C or .Code)
Activated by a click.
objName.Code=string of code.
!POBJ sld1.C=!STAT The setting is ((ME))

bulletValues
(objName) - Value of button text.
(objName.T) - Top coordinate
(objName.L) - Left coordinate
(objName.W) - Width
(objName.H) - Height
(objName.B) - Bottom coordinate
(objName.R) - Right coordinate
(ME) - Used only in its event code, returns object name.
((ME)) - Used only in its event code, returns object value.