Subject:
|
Re: Borland/delphi question
|
Newsgroups:
|
lugnet.cad.dev
|
Date:
|
Fri, 1 Apr 2005 22:02:20 GMT
|
Viewed:
|
2065 times
|
| |
| |
In lugnet.cad.dev, Kevin L. Clague wrote:
> Well, once again I've hit my limit....
>
> I use a custom form for LPub's main form. I also use a simple custom form for
> the Cancel window that contains two buttons.
>
> When LPub is processing something that takes a long time, it does
> CanceForm->Show(). When LPub finishes procesing it does a CancelForm->Close().
>
> This works fine as long as the main form is not minimized. I've tried things
> like waiting until the main form is active before issuing Close(). No joy. I
> also tried having the CancelForm->Close(), when the CancelForm activates, and
> the main form is done processing. No joy.
Have you tried doing a mainform->restore() (or whatever the Delphi version is)
before closing the child? It is likely the user won't mind the window
re-appearing when some long processing is finished. If you're worried about
that, you could possibly do
mainform->restore()
cancelform->close()
mainform->minimize()
ROSCO
|
|
Message has 1 Reply:
Message is in Reply To:
| | Borland/delphi question
|
| Well, once again I've hit my limit.... I use a custom form for LPub's main form. I also use a simple custom form for the Cancel window that contains two buttons. When LPub is processing something that takes a long time, it does CanceForm->Show(). (...) (20 years ago, 1-Apr-05, to lugnet.cad.dev)
|
4 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|