To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.devOpen lugnet.cad.dev in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / 10199
10198  |  10200
Subject: 
Re: Borland/delphi question
Newsgroups: 
lugnet.cad.dev
Date: 
Fri, 1 Apr 2005 17:10:23 GMT
Viewed: 
1924 times
  
Kevin L. Clague wrote:
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.

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?

--
Anders Isaksson, Sweden
BlockCAD:  http://web.telia.com/~u16122508/proglego.htm
Gallery:   http://web.telia.com/~u16122508/gallery/index.htm



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(). (...) (19 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
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR