1. How to set state of toggle button?
--part1_38.32eecbff.2b32e83a_boundary
Hi All,
In my app I have many toggle buttons, is there a way to programatically set
the state of a button to up or down (depressed)?
Thanks in advance and Merry Christmas to all.
Tony Steward
--part1_38.32eecbff.2b32e83a_boundary
Content-Type: text/html; charset="US-ASCII"
Content-Transfer-Encoding: 7bit
<HTML><FONT FACE=arial,helvetica><FONT SIZE=2 FAMILY="SANSSERIF" FACE="Arial"
LANG="0">Hi All,<BR>
In my app I have many toggle buttons, is there a way to programatically set the
state of a button to up or down (depressed)?<BR>
<BR>
Thanks in advance and Merry Christmas to all.<BR>
--part1_38.32eecbff.2b32e83a_boundary--
2. Re: How to set state of toggle button?
use
integer state
state = isChecked(buttonname)
to get whether the button is 'down' or not. (1 or 0 returned)
and
setCheck(buttonname, 1)
or
setCheck(buttonname, 0)
to set up or down.
=====================================================
.______<-------------------\__
/ _____<--------------------__|===
||_ <-------------------/
\__| Mr Trick
>From: Tony Steward <lockmaster67 at aol.com>
>Reply-To: EUforum at topica.com
>To: EUforum <EUforum at topica.com>
>Subject: How to set state of toggle button?
>Date: Thu, 19 Dec 2002 04:15:38 EST
>
>
>Hi All,
>In my app I have many toggle buttons, is there a way to programatically set
>the state of a button to up or down (depressed)?
>
>Thanks in advance and Merry Christmas to all.
>Tony Steward
>
>
>