Bar 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 Bar can be used to indicate value into a maximum for progress.

 The minimum value is always 0.  The maximum is a positive value, and the current values may contain decimals.  In the above example the bar is displaying progress as time into plot to maximum X time.  !POBJ Update is called using a timer object.

bulletCreating:
Default values are 100 for maximum.
Horizontal Bar

oHBar.objName=L,T [,W,H,max,value]
Vertical Bar
oVBar.objName=L,T [,W,H,max,value]
!POBJ oHBar.bar1=5,40
!POBJ oHBar.bar2=5,20,10,10,75,50

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

Text Tip (.Tip)
Sets the text pop-up tip
!POBJ objName.Tip=Text string
!POBJ bar1.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 bar1.M=50,50,,10

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=[value,max]
!POBJ bar1.U=(AINVAL0),(AMAX)

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.