` Comment on an Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Add a comment to an Icetips Article

Please 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!

Your Name:  
Email:  
Header text/Subject:  

Please enter your comment in the box below:

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 May 4, 2024, 7:31 pm
This article has been viewed 35117 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: