[ Home | Contents | Search | Next | Previous | Up ]
Date: 11/30/99
Time: 1:19:23 AM
Question:
Does anyone know how one goes about keeping more than one
dialog box open at a time ?
For example, open a dialog box complete with its own clickable
buttons, clicking a nominated button within this first dialog
opens another dialog. The second dialog has its own clickable
buttons. Essentially both dialogs need to be active as do all of
the associated buttons.
Answer:
What you need are modeless dialogs. Rather than displaying your
dialogs with Execute() use Create(). If you are talking about
something other than modeless dialogs (multiple dialogs open and
the main window deactivated, for instance) then you are going to
have to do a little more work. You might find
TApplication::BeginModal() and EndModal() handy in that case.