MainForm

MainForm is the single form implementing the SPA which is created and shown after a successful login (or if no LoginForm exists). In general, MainForm is the Application Formarrow-up-right used to navigate to other forms using menus or other navigation tools. MainForm is automatically created when a new project is created. Each Web session has its own private copy of MainForm and closing a MainForm will terminate the session.

A blank MainForm

MainForm is registered in the initialization section of the unit so that uniGUI can distinguish it from other forms.

unit initialization
initialization

  RegisterAppFormClass(TMainForm);

end.