Re: How to set state of toggle button?

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu