Re: [DUG]: closing modal form.

2001-09-18 Thread Matthew Comb

thanks guys. Weird thing is I'm not doing any of those???



- Original Message -
From: Robert Martin [EMAIL PROTECTED]
To: Multiple recipients of list delphi [EMAIL PROTECTED]
Sent: Tuesday, September 18, 2001 4:05 PM
Subject: Re: [DUG]: closing modal form.


 Setting modalresult to 0 will also not close the form.

 Robert Martin
 Software Engineer
 Wild Software Ltd
 - Original Message -
 From: Steve Peacocke [EMAIL PROTECTED]
 To: Multiple recipients of list delphi [EMAIL PROTECTED]
 Sent: Tuesday, September 18, 2001 3:54 PM
 Subject: RE: [DUG]: closing modal form.


  -- Original Message --
  Under what circumstances would it not close?
 
 
  1. Anytime during OnCreate
  2. if OnCloseQuery does not allow it
 
  Can't think of any more off hand.
 
  Steve
 

 --
 -
  New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
  To UnSub, send email to: [EMAIL PROTECTED]
  with body of unsubscribe delphi
  Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
 

 --
-
 New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED]
 with body of unsubscribe delphi
 Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/


---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/



RE: [DUG]: closing modal form.

2001-09-18 Thread Patrick Dunford

Are you using a message box, or a form of your own that you have made modal?

If the latter, can you free the form and will it then go away?

I have the same problem in an app. It may be necessary to make the form
modal in some other way.

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
 Behalf Of Matthew Comb
 Sent: Wednesday, 19 September 2001 09:16
 To: Multiple recipients of list delphi
 Subject: Re: [DUG]: closing modal form.


 thanks guys. Weird thing is I'm not doing any of those???



 - Original Message -
 From: Robert Martin [EMAIL PROTECTED]
 To: Multiple recipients of list delphi [EMAIL PROTECTED]
 Sent: Tuesday, September 18, 2001 4:05 PM
 Subject: Re: [DUG]: closing modal form.


  Setting modalresult to 0 will also not close the form.
 
  Robert Martin
  Software Engineer
  Wild Software Ltd
  - Original Message -
  From: Steve Peacocke [EMAIL PROTECTED]
  To: Multiple recipients of list delphi [EMAIL PROTECTED]
  Sent: Tuesday, September 18, 2001 3:54 PM
  Subject: RE: [DUG]: closing modal form.
 
 
   -- Original Message --
   Under what circumstances would it not close?
  
  
   1. Anytime during OnCreate
   2. if OnCloseQuery does not allow it
  
   Can't think of any more off hand.
  
   Steve
  
 
 
 --
  -
   New Zealand Delphi Users group - Delphi List -
 [EMAIL PROTECTED]
 Website: http://www.delphi.org.nz
   To UnSub, send email to: [EMAIL PROTECTED]
   with body of unsubscribe delphi
   Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
  
 
 
 --
 -
  New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
  To UnSub, send email to: [EMAIL PROTECTED]
  with body of unsubscribe delphi
  Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
 

 --
 -
 New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED]
 with body of unsubscribe delphi
 Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/


---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/



Re: [DUG]: closing modal form.

2001-09-18 Thread Matthew Comb

Ha ha :)

- Original Message -
From: Steve Peacocke [EMAIL PROTECTED]
To: Multiple recipients of list delphi [EMAIL PROTECTED]
Sent: Wednesday, September 19, 2001 10:34 AM
Subject: Re: [DUG]: closing modal form.


 -- Original Message --
 From: Matthew Comb [EMAIL PROTECTED]
 thanks guys. Weird thing is I'm not doing any of those???

 Oh, and one other: If you are running Windows :)

 Steve

 --
-
 New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED]
 with body of unsubscribe delphi
 Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/



---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/



Re: [DUG]: closing modal form.

2001-09-18 Thread Matthew Comb

Yer there is an ftpclient (ICS) component on the main form and I am
wondering if it is doing something weird to the application that makes the
form unable to react to that property being set.

I haven't tried freeing it at that point. Ill give that a shot out of
interest but I think I'm just going to make these other forms fsstayontop.
Only problem is that I have three levels of forms but I guess if I keep
track of which should be visible (only one form should ever be visible) then
I can just make sure that that form is fsstayontop and the others are
normal.

Seem logical?

Matt.

- Original Message -
From: Patrick Dunford [EMAIL PROTECTED]
To: Multiple recipients of list delphi [EMAIL PROTECTED]
Sent: Wednesday, September 19, 2001 10:52 AM
Subject: RE: [DUG]: closing modal form.


 Are you using a message box, or a form of your own that you have made
modal?

 If the latter, can you free the form and will it then go away?

 I have the same problem in an app. It may be necessary to make the form
 modal in some other way.

  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
  Behalf Of Matthew Comb
  Sent: Wednesday, 19 September 2001 09:16
  To: Multiple recipients of list delphi
  Subject: Re: [DUG]: closing modal form.
 
 
  thanks guys. Weird thing is I'm not doing any of those???
 
 
 
  - Original Message -
  From: Robert Martin [EMAIL PROTECTED]
  To: Multiple recipients of list delphi [EMAIL PROTECTED]
  Sent: Tuesday, September 18, 2001 4:05 PM
  Subject: Re: [DUG]: closing modal form.
 
 
   Setting modalresult to 0 will also not close the form.
  
   Robert Martin
   Software Engineer
   Wild Software Ltd
   - Original Message -
   From: Steve Peacocke [EMAIL PROTECTED]
   To: Multiple recipients of list delphi [EMAIL PROTECTED]
   Sent: Tuesday, September 18, 2001 3:54 PM
   Subject: RE: [DUG]: closing modal form.
  
  
-- Original Message --
Under what circumstances would it not close?
   
   
1. Anytime during OnCreate
2. if OnCloseQuery does not allow it
   
Can't think of any more off hand.
   
Steve
   
  
  

 --
   -
New Zealand Delphi Users group - Delphi List -
  [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of unsubscribe delphi
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
   
  
  

 --
  -
   New Zealand Delphi Users group - Delphi List -
[EMAIL PROTECTED]
 Website: http://www.delphi.org.nz
   To UnSub, send email to: [EMAIL PROTECTED]
   with body of unsubscribe delphi
   Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
  
 
  --
  -
  New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
  To UnSub, send email to: [EMAIL PROTECTED]
  with body of unsubscribe delphi
  Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
 

 --
-
 New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED]
 with body of unsubscribe delphi
 Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/


---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/



Re: [DUG]: closing modal form.

2001-09-18 Thread Rohit Gupta

I dont know if someone has mentioned it alread... an exception in 
closequery, close or destroy will invariably abort teh close process.

To: Multiple recipients of list delphi [EMAIL PROTECTED]
Send reply to:  [EMAIL PROTECTED]
From:   Matthew Comb [EMAIL PROTECTED]
Subject:Re: [DUG]:  closing modal form.
Date sent:  Wed, 19 Sep 2001 09:16:07 +1200

 thanks guys. Weird thing is I'm not doing any of those???
 
 
 
 - Original Message -
 From: Robert Martin [EMAIL PROTECTED]
 To: Multiple recipients of list delphi [EMAIL PROTECTED]
 Sent: Tuesday, September 18, 2001 4:05 PM
 Subject: Re: [DUG]: closing modal form.
 
 
  Setting modalresult to 0 will also not close the form.
 
  Robert Martin
  Software Engineer
  Wild Software Ltd
  - Original Message -
  From: Steve Peacocke [EMAIL PROTECTED]
  To: Multiple recipients of list delphi [EMAIL PROTECTED]
  Sent: Tuesday, September 18, 2001 3:54 PM
  Subject: RE: [DUG]: closing modal form.
 
 
   -- Original Message --
   Under what circumstances would it not close?
  
  
   1. Anytime during OnCreate
   2. if OnCloseQuery does not allow it
  
   Can't think of any more off hand.
  
   Steve
  
 
  --
  -
   New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
 Website: http://www.delphi.org.nz
   To UnSub, send email to: [EMAIL PROTECTED]
   with body of unsubscribe delphi
   Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
  
 
  --
 -
  New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
  To UnSub, send email to: [EMAIL PROTECTED]
  with body of unsubscribe delphi
  Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
 
 
 ---
 New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED] 
 with body of unsubscribe delphi
 Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
 


Regards

Rohit

==
CFL - Computer Fanatics Ltd.  21 Barry's Point Road, AKL, New Zealand
PH(649) 489-2280 
FX(649) 489-2290
email [EMAIL PROTECTED]  or  [EMAIL PROTECTED]
==

---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/



RE: [DUG]: closing modal form.

2001-09-17 Thread Steve Peacocke

-- Original Message --
Under what circumstances would it not close?


1. Anytime during OnCreate
2. if OnCloseQuery does not allow it

Can't think of any more off hand.

Steve

---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/



Re: [DUG]: closing modal form.

2001-09-17 Thread Robert Martin

Setting modalresult to 0 will also not close the form.

Robert Martin
Software Engineer
Wild Software Ltd
- Original Message -
From: Steve Peacocke [EMAIL PROTECTED]
To: Multiple recipients of list delphi [EMAIL PROTECTED]
Sent: Tuesday, September 18, 2001 3:54 PM
Subject: RE: [DUG]: closing modal form.


 -- Original Message --
 Under what circumstances would it not close?


 1. Anytime during OnCreate
 2. if OnCloseQuery does not allow it

 Can't think of any more off hand.

 Steve

 --
-
 New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED]
 with body of unsubscribe delphi
 Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/


---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/