[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'fpg_base' (#fpgui)

TfpgApplicationBase

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Base class for the fpgApplication variable

Declaration

Source position: fpg_base.pas line 542

type TfpgApplicationBase = class(TfpgComponent)

public

  constructor Create(); virtual;

  destructor Destroy; override;

  function GetFontFaceList;

  procedure PushModalForm();

  procedure PopModalForm;

  function PrevModalForm;

  function RemoveWindowFromModalStack();

  procedure CreateForm();

  

Creates a new form

  function GetFormByClassName();

  function GetFormByName();

  function GetScreenWidth; virtual; abstract;

  function GetScreenHeight; virtual; abstract;

  function GetScreenPixelColor(); virtual; abstract;

  function Screen_dpi_x; virtual; abstract;

  function Screen_dpi_y; virtual; abstract;

  function Screen_dpi; virtual; abstract;

  procedure Terminate;

  procedure Lock;

  procedure Unlock;

  procedure InvokeHelp;

  

Run the help viewer

  function ContextHelp();

  function KeywordHelp();

  property FormCount: Integer; [r]

  property Forms: TfpgWindowBase; [r]

  property HelpContext: THelpContext;

  property HelpFile: TfpgString; [rw]

  

Specify a help file for the application

  property HelpKey: Word; [rw]

  property IsInitialized: Boolean; [r]

  property TopModalForm: TfpgWindowBase; [r]

  property MainForm: TfpgWindowBase; [rw]

  

Identifies which form in the application is the main form

  property Terminated: Boolean; [rw]

  property OnIdle: TNotifyEvent; [rw]

end;

Inheritance

TfpgApplicationBase

  

Base class for the fpgApplication variable

|

TfpgComponent

  

A descendant of the FPC TComponent class

|

TComponent

?

TObject

Description

This is the base class of TfpgApplication. All fpGUI-based applications will contain a instance of TfpgApplication. It encapsulates the application as a whole, and also supplies many useful functions and events.


Documentation generated on: 2015-04-04