RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TForm Class

TForm represents a standard application window (form).

Pascal
TForm = class(TCustomForm);
C++
class TForm : public TCustomForm;

Forms

When you create forms in the Form designer at design time, they are implemented as descendants of TForm. Forms can represent the application's main window, or dialog boxes, or MDI children. A form can contain other objects, such as TButton, TCheckBox, and TComboBox objects. 

Examples of forms include TLoginDialog and TPasswordDialog objects. 

 

TLoginDialog 

TPasswordDialog 

Creating Applications 

MDI Applications 

SDI Applications 

User Interface Models 

GUI Applications 

Adding Forms 

Controlling When Forms Reside in Memory 

Creating Forms Dynamically 

Creating Modeless Forms Such as Windows 

Displaying an Auto-created Form 

Using Forms 

Passing Additional Arguments to Forms 

Retrieving Data from Forms 

Retrieving Data from Modal Forms 

Retrieving Data from Modeless Forms 

Controlling Application Behavior 

Creating a Form Instance Using a Local Variable 

Using the Main Form 

VCL Overview 

Windows Overview

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!