|
| |
The checkbox object can be used for On/Off, 1/0 conditions.

The value of the checkbox returns a 1 or 0. In the above example,
clicking the checkbox will invoke the event code, enabling or disabling the
logarithmic Y axis setting.
 | Creating:
oCheck.oBjName=L,T [,W,H,text,value
(1/0), backcolor, textcolor]
!POBJ oCheck.list1=5,40
Use no commas in the text string
|
 | Functions:
SET Value (.Set or omitted)
!POBJ objName=text,caption
!POBJ
list1=1,Click Me!
Text Tip (.Tip)
Sets the text pop-up tip
!POBJ objName.Tip=Text string
!POBJ list1.Tip=This is a tip!
Font (.Font or .F)
Sets the font of the object
!POBJ objName.Font=[Font name,size,italic (0/1),bold (0/1)]
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 label1.M=50,50,,10
Set Focus (.SF)
Sets the current focus of the application to the object
!POBJ objName.SF
!POBJ butn2.SF
|
 | Update 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,caption
!POBJ List1.U=(BIT0)
|
 | Code Event - (.C or .Code)
Activated by a click.
objName.Code=string of code.
!POBJ List1.C=!STAT The value of (ME) is ((ME))
|
 | Values
(objName) - Value of checkbox - 1=checked, 0 = not checked.
(objName.T) - Top coordinate
(objName.L) - Left coordinate
(objName.W) - Width
(objName.H) - Height
(objName.B) - Bottom coordinate
(objName.R) - Right coordinate
(objName.BC) - Background Color
(objName.FC) - Text or foreground color
(ME) - Used only in its event code, returns object name.
((ME)) - Used only in its event code, returns object value.
|
 | Special: Using an & before a character in
the button text will allow it to be a hot-key:
!POBJ objName=&Click Me
This will underscore the C and using ALT-C will activate the checkbox.
|
|