comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: how to "check" checkbox state?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: how to "check" checkbox state? [message #60174 is a reply to message #60173] Tue, 06 May 2008 10:38 Go to previous messageGo to previous message
Vince Hradil is currently offline  Vince Hradil
Messages: 574
Registered: December 1999
Senior Member
On May 6, 12:23 pm, pantha <p4n...@gmail.com> wrote:
> On 6 Mai, 19:16, Vince Hradil <hrad...@yahoo.com> wrote:
>
>> bstate = widget_info(event.id,/button_set)
>
> Thanks for the quick answer!
>
> I tried it, but bstate always returns "1" even when unchecked. Could
> it be that it is designated to the button I press when I want to check
> the checkbox state?

The event.id comes from the event that is firing, so you need to
inspect it when the event.id is the checkbox event. Does that make
sense?
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: 3D array from surfaces?
Next Topic: Re: pState structure without widgets?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 16:26:07 PDT 2025

Total time taken to generate the page: 1.43916 seconds