Subject:
|
Borland/delphi question
|
Newsgroups:
|
lugnet.cad.dev
|
Date:
|
Fri, 1 Apr 2005 16:16:03 GMT
|
Viewed:
|
2008 times
|
| |
| |
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.
I'm doing nothing fancy. No CloseQuery or anything....
Anyone have ideas? I'm not very knowledgable about Delphi/C++ Builder.
Kevin
|
|
Message has 2 Replies: | | Re: Borland/delphi question
|
| (...) You could try setting another parent for the CancelForm, maybe zero for the DeskTop? Maybe there is some problem when you try to close a child of a minimized form? (20 years ago, 1-Apr-05, to lugnet.cad.dev)
| | | Re: Borland/delphi question
|
| (...) 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 (...) (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
|
|
|
|