Login
`
Templates, Tools and Utilities
|
||
Icetips Article
Back to article list
Search Articles
Add Comment
Printer friendly
Direct link
Par2: Button as toggle switch 2001-06-06 -- Richard Rose The code for a toggle button if it helps anyone
IF toggle
toggle = 0
?Region{Prop:Bevel,1} = 1
?Region{Prop:Bevel,2} = 1
RegionMessage = 'Up State'
Else
toggle = 1
?Region{Prop:Bevel,1} = -1
?Region{Prop:Bevel,2} = -1
ToggleMessage = 'Down State'
END
Graig Ransom adds:
According to the on-line help, you use a CHECKbox control with an ICON()
attribute for this! (Beats me why it isn't a BUTTTON with a TOGGLE
attribute.
Today is November 21, 2024, 8:20 am This article has been viewed 35216 times.
|
|