Re: problem with two tlb widget program [message #36880] |
Wed, 05 November 2003 14:43  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Songtao Liu writes:
> I have a problem with a two tlb widget program. What I want is when
> the user press enter on the cw_field widget in the second tlb, the
> plot on the second tlb should be refreshed. But the program runs very
> weird, when user press the enter, it just waiting, only after you move
> the mouse to the draw widget on the first tlb, it begin to refresh the
> draw widget on the second tlb. Following are the codes, any
> suggestions are highly appreciated.
Did you find this code on the RSI web page?
(Oh, I'm just kidding...)
I can't tell from the code what exactly you are trying
to do. You can find an article on my web page, however,
about cascading menu choices (all in their own top-level
bases), that can communicate back to the first widget.
It looks to me like the principle is the same.
http://www.dfanning.com/widget_tips/cascading.html
Cheers,
David
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|