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

Home » Public Forums » archive » control widgets
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: control widgets [message #55110 is a reply to message #55040] Wed, 01 August 2007 05:48 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
payon@gmx.de writes:

> I think this is a problem of multi tasking. Please correct me, if I'm
> wrong. But I suppose that IDL cannot control the main widget via
> widget_control throuh a modal widget.
>
> Let me tell another example. Let's assume there are two widgets. The
> one is the main base and the groupleader, the second one is a modal
> widget. So in the one window i have three buttons in the other three
> lights.
> Is it possible (without closing the modal widget) to press on buttons
> in the modal widget and with pressing on them to change the color of
> the lights in the main window?

Well, you may be right. You certainly can't send events
to another TLB widget from a modal widget, which would
be the normal method of communicating in widget programs.
I don't know if you can control other widgets directly
from a modal widget. I've never tried it. But it wouldn't
surprise me to find it's not allowed, since by definition
the other widgets are not suppose to be "active" during
that time.

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Reading and Plotting big txt. File
Next Topic: .FULL_RESET_SESSION

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

Current Time: Fri Oct 10 14:17:55 PDT 2025

Total time taken to generate the page: 0.87914 seconds