Hi,

Make "Connecting form" as Main form of application. Open the Search form as modal (ShowModal).
In "Connecting form", immedietely after you call "ShowModal", call "Application.Terminate"

logic:
When you display a form using "ShowModal", control will not return to "calling" form until the "called" form is closed.

HTH,
Vishak


--------------------------------------------------------------------------------
----- Original Message -----
From: sonith m
To: [email protected]
Sent: Friday, April 28, 2006 3:26 PM
Subject: [delphi-en] PLease help on form closing help



  
  I have form(coonectinform) there i am giving database name and server name .. clicking ok if databse and server is excist it will show next form (searchform).. 

  in search form i am using conectin of first form so i cant destory that
so now what i want is
  on closing of search of i should be able to close complte apliction
  (presently its in memory.. )
  
  
  pleasse help me


[Non-text portions of this message have been removed]



-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED]




SPONSORED LINKS
C programming language Computer programming languages Java programming language
The c programming language C programming language Concept of programming language


YAHOO! GROUPS LINKS




Reply via email to