[Lazarus] How to close a window from code
Mattias Gaertner
nc-gaertnma at netcologne.de
Wed Feb 1 18:14:27 CET 2012
On Wed, 01 Feb 2012 11:50:32 -0500
Timothy Groves <the.tail.kinker at gmail.com> 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
More information about the Lazarus
mailing list