Hello David,

All dialogs in MB are model. One consequence of this is that you can only
nest chained dialogs and close them in reverse order. e.g. A-open, B-open,
C-open, C-close, B-close, A-close. The Apples and Oranges dialogs in you
example need to be invoked by a slightly more complicated process which does
not involve one directly calling the other and closing itself. It may also
be worthwhile taking a long look at the interface between Apples <-> Oranges
because many applications have a better user interface by avoiding such
dependencies.

Regards,
Warren Vick
Europa Technologies Ltd.
http://www.europa-tech.com


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of David Reid
Sent: Saturday, December 22, 2001 9:26 PM
To: MapInfo-L
Subject: MI-L MB, dialogs, switch between two different dialogs




Greetings List,

I'm trying to switch between two dialogs in Mapbasic and can't seem to =
get the dialog_remove statement in the correct location if needed.
I've tried the "dialog_remove" and "listhandler" but couldn't seem to =
get it to work although I'm not doing a 'list'.

Example:

Upon clicking the  toolbar button the Apples Dialog will display, =
clicking the "Use Oranges" button would bring up the Oranges dialog =
which would also display a button to go back to the Apples dialog.

When I go from one dialog to the other the previous dialog remains, as =
does subsequent dialogs, I wish the previous dialog to be removed when =
the next one is accessed.  (both dialogs are identical is size and =
structure with the exception of the call for Apples or Oranges . . . =
fruity enough?:)

Thanks

______________
David Reid
Mapper, Colbert County E 9-1-1
Colbert County Alabama
[EMAIL PROTECTED]
(256) 383-4074
(256) 383-5088 FAX



_______________________________________________________________________
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, send e-mail to [EMAIL PROTECTED] and
put "unsubscribe MapInfo-L" in the message body.



_______________________________________________________________________
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, send e-mail to [EMAIL PROTECTED] and
put "unsubscribe MapInfo-L" in the message body.

Reply via email to