Download Now

    Reference FormManager

    Declared in Codebot.Forms.Management.pas on line 23

    FormManager provides access to the active form and default font
      FormManager = record
      public
        { Bring a form to the foreground and activate it }
        class procedure Activate(Form: TCustomForm); static;
        { Return the form containing a control or nil if there is none }
        class function ParentForm(Control: TControl): TCustomForm; static;
        { The form in the foreground or nil if it does not belong to this program }
        class property Current: TCustomForm read GetCurrent;
        { The default font used by forms }
        class property DefaulFont: TFont read GetDefaultFont;
      end;