On Wed, 01 Feb 2012 11:50:32 -0500
Timothy Groves <[email protected]> wrote:

> I've googled this, and I've hunted through the documentation, and I 
> cannot find an answer.  I have an app that I'm working on, the graphics 
> portion of which largely just seeds what used to be a console app.  I 
> want it so that when the 'Go' button is clicked, the window closes once 
> the main program is complete.  How do I code this?

Do you mean a LCL form?

Form1.Close;

Mattias

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to