Login
`
Templates, Tools and Utilities
|
||
Add a comment to an Icetips ArticlePlease add your comments to this article.
Please note that you must provide both a name and a valid email address in order
for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!
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, 6:38 am This article has been viewed 35215 times.
|
|