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

Home » Public Forums » archive » always widget!
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
always widget! [message #37429] Thu, 18 December 2003 04:01
templebar is currently offline  templebar
Messages: 6
Registered: October 2003
Junior Member
Hi
How could I know if a widget is active?
In my widget I have a widget_Text (text1) and two widget_button (butto1, button2).
Button1 is used to activate or disactivate text1. I use this code:
[.....]
WIDGET_CONTROL, event.id, GET_UVALUE = eventval
CASE eventval OF
"button1" : BEGIN
if (event.select eq 1) then begin
widget_control, text1, sensitive = 0
endif else begin
widget_control, text1, sensitive = 1
endelse
END
[......]

by button2 I want to know if text1 is active or not.
How can I do?
thanks
[Message index]
 
Read Message
Previous Topic: Thanks Henry Chapman! (for the FFTW3 DLM)
Next Topic: Re: For loops vs. matrix operations

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

Current Time: Fri Oct 10 10:04:41 PDT 2025

Total time taken to generate the page: 2.00744 seconds