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

Home » Public Forums » archive » Using multiple top level bases created with GUIBuilder
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Using multiple top level bases created with GUIBuilder [message #34562] Mon, 24 March 2003 10:42
bias is currently offline  bias
Messages: 7
Registered: February 2003
Junior Member
Hi everybody,

I'd like to write an application with multiple top level bases,
e.g. one for selecting parameters, one for displaying data, a dialog
for manipulating the graphics etc.
After I created the TLBs using IDL's GUIBuilder and generated the
.pro files I now want to pass information, like widget IDs or changed
parameters etc. between them.
I found several postings here describing similar problems and solutions,
e.g. sending events from one base to the other, but then the GUI has been
created manually without GUIBuilder.
I'd really like to use the generated code, leaving it unchanged
(except the ..._eventcb.pro files of course), but I don't know how
to make the TLBs communicating with each other.
It would help me best if somebody knew a solution to the following
simple example which illustrates the problem:

The GUI code for the first TLB is maingui.pro. It containes two buttons,
one labeled 'Show' and the other labeled 'Hide'. The event code is
maingui_eventcb.pro, containing (empty) procedures for the OnButtonPress
events.
The GUI code for the second TLB is drawwindow.pro, containing a draw widget.
The maingui TLB should be the GROUP_LEADER for the drawwindow TLB.

Now I want to use the buttons on the maingui to 'Show' and 'Hide' the
drawwindow, but I can't figure out how to retrieve the ID of the drawwindow
TLB from within the maingui_eventcb.pro etc.

Thank you,
Tobias
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: IDL licenses thru a tunnel?
Next Topic: ASSOC and C

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

Current Time: Wed Oct 08 17:47:06 PDT 2025

Total time taken to generate the page: 0.00520 seconds