Forms.TCustomForm Properties

From RAD Studio VCL Reference
Jump to: navigation, search

Delphi Information

property ActiveMDIChild: TForm read get_ActiveMDIChild;

Specifies the MDI child that has focus.

property AlphaBlend: Boolean read FAlphaBlend write SetAlphaBlend;

Specifies whether the form is translucent.

property AlphaBlendValue: Byte read FAlphaBlendValue write SetAlphaBlendValue;

Specifies the degree of translucency on a translucent form.

property BorderIcons: TBorderIcons read FBorderIcons write SetBorderIcons;

Specifies which icons appear on the title bar of the form.

property TransparentColor: Boolean read FTransparentColor write SetTransparentColor;

Specifies whether a color on the form appears transparent.

property TransparentColorValue: TColor read FTransparentColorValue write SetTransparentColorValue;

Indicates the color on the form that appears transparent when TransparentColor is true.

property DefaultMonitor: TDefaultMonitor read FDefaultMonitor write FDefaultMonitor;

Specifies the monitor on which the form appears.

property Icon: TIcon read FIcon write SetIcon;

Specifies the icon that appears when the form is minimized.

property MDIChildCount: Integer read get_MDIChildCount;

Specifies the number of open MDI child forms.

property MDIChildren: TForm read get_MDIChildren;

Provides indexed access to all MDI child forms.

property ObjectMenuItem: TMenuItem read FObjectMenuItem write SetObjectMenuItem;

Represents an OLE object menu item that reacts to selections of OLE objects.

property PixelsPerInch: Integer read GetPixelsPerInch write SetPixelsPerInch;

Represents the proportion of the font on the system on which the form was designed.

property PopupChildren: TList read GetPopupChildren;
property Position: TPosition read FPosition write SetPosition;

Represents the size and placement of the form.

property PrintScale: TPrintScale read FPrintScale write FPrintScale;

Represents the proportions of a printed form.

property Scaled: Boolean read GetScaled write SetScaled;

Specifies whether the form is sized according to the value of the PixelsPerInch property.

property TileMode: TTileMode read FTileMode write FTileMode;

Represents how MDI child forms are arranged when the Tile method is called.

property WindowMenu: TMenuItem read FWindowMenu write SetWindowMenu;

Specifies the Window menu for an MDI parent form.

property ClientHandle: HWND read FClientHandle;

Provides access to the handle of the form's internal MDI client window.

property FormStyle: TFormStyle read FFormStyle write SetFormStyle;

Determines the form's style.

property OldCreateOrder: Boolean read FOldCreateOrder write FOldCreateOrder;

Specifies when OnCreate and OnDestroy events occur.

property Active: Boolean read FActive;

Specifies whether the form has focus.

property ActiveControl: TWinControl read FActiveControl write SetActiveControl;

Specifies the control that has focus on the form.

property ActiveOleControl: TWinControl read FActiveOleControl write SetActiveOleControl;

Specifies the OLE control on the form that reacts to changes in focus.

property BorderStyle: TFormBorderStyle read FBorderStyle write SetBorderStyle;

Specifies the appearance and behavior of the form border.

property Canvas: TCanvas read GetCanvas;

Provides access to the drawing area of the form.

property Designer: IDesignerHook read FDesigner write SetDesigner;

Specifies the designer interface for the form.

property DropTarget: Boolean read FDropTarget write FDropTarget;

Specifies whether the form is the target of a drag-and-drop operation.

property FormState: TFormState read FFormState;

Indicates transitional state information about the form.

property GlassFrame: TGlassFrame read FGlassFrame write SetGlassFrame;

Access the GlassFrame under Windows Vista.

property HelpFile: string read FHelpFile write FHelpFile;

Specifies the name of the file the form uses to display Help.

property KeyPreview: Boolean read FKeyPreview write FKeyPreview;

Specifies whether the form should receive keyboard events before the active control.

property Menu: TMainMenu read FMenu write SetMenu;

Specifies the form's main menu.

property ModalResult: TModalResult read FModalResult write FModalResult;

Represents the return value of a form that is used as a modal dialog.

property Monitor: TMonitor read GetMonitor;

Provides access to the monitor on which the form appears.

property OleFormObject: IOleForm read FOleForm write FOleForm;

Specifies the IOleForm interface for an in-place OLE object contained in the form.

property PopupMode: TPopupMode read FPopupMode write SetPopupMode;
property ScreenSnap: Boolean read FScreenSnap write FScreenSnap;

Specifies whether form snaps to edge of screen.

property SnapBuffer: Integer read FSnapBuffer write FSnapBuffer;

Specifies distance for screen snap.

property WindowState: TWindowState read FWindowState write SetWindowState;

Represents how the form appears on the screen.

property PopupParent: TCustomForm read FPopupParent write set_PopupParent;

Sets an order for stacked forms that users cannot change.


Unit: Forms

Type: property

Visibility: public

Member Of: TCustomForm

C++ Information

__property Forms::TForm * ActiveMDIChild = {read=get_ActiveMDIChild};

Specifies the MDI child that has focus.

__property bool AlphaBlend = {read=FAlphaBlend,write=SetAlphaBlend};

Specifies whether the form is translucent.

__property unsigned char AlphaBlendValue = {read=FAlphaBlendValue,write=SetAlphaBlendValue};

Specifies the degree of translucency on a translucent form.

__property System::Set<Forms::TBorderIcon,0,3> BorderIcons = {read=FBorderIcons,write=SetBorderIcons};

Specifies which icons appear on the title bar of the form.

__property bool TransparentColor = {read=FTransparentColor,write=SetTransparentColor};

Specifies whether a color on the form appears transparent.

__property Graphics::TColor TransparentColorValue = {read=FTransparentColorValue,write=SetTransparentColorValue};

Indicates the color on the form that appears transparent when TransparentColor is true.

__property Forms::TDefaultMonitor DefaultMonitor = {read=FDefaultMonitor,write=FDefaultMonitor};

Specifies the monitor on which the form appears.

__property Graphics::TIcon * Icon = {read=FIcon,write=SetIcon};

Specifies the icon that appears when the form is minimized.

__property int MDIChildCount = {read=get_MDIChildCount};

Specifies the number of open MDI child forms.

__property Forms::TForm * MDIChildren = {read=get_MDIChildren};

Provides indexed access to all MDI child forms.

__property Menus::TMenuItem * ObjectMenuItem = {read=FObjectMenuItem,write=SetObjectMenuItem};

Represents an OLE object menu item that reacts to selections of OLE objects.

__property int PixelsPerInch = {read=GetPixelsPerInch,write=SetPixelsPerInch};

Represents the proportion of the font on the system on which the form was designed.

__property Classes::TList * PopupChildren = {read=GetPopupChildren};
__property Forms::TPosition Position = {read=FPosition,write=SetPosition};

Represents the size and placement of the form.

__property Forms::TPrintScale PrintScale = {read=FPrintScale,write=FPrintScale};

Represents the proportions of a printed form.

__property bool Scaled = {read=GetScaled,write=SetScaled};

Specifies whether the form is sized according to the value of the PixelsPerInch property.

__property Forms::TTileMode TileMode = {read=FTileMode,write=FTileMode};

Represents how MDI child forms are arranged when the Tile method is called.

__property Menus::TMenuItem * WindowMenu = {read=FWindowMenu,write=SetWindowMenu};

Specifies the Window menu for an MDI parent form.

__property HWND__ * ClientHandle = {read=FClientHandle};

Provides access to the handle of the form's internal MDI client window.

__property Forms::TFormStyle FormStyle = {read=FFormStyle,write=SetFormStyle};

Determines the form's style.

__property bool OldCreateOrder = {read=FOldCreateOrder,write=FOldCreateOrder};

Specifies when OnCreate and OnDestroy events occur.

__property bool Active = {read=FActive};

Specifies whether the form has focus.

__property Controls::TWinControl * ActiveControl = {read=FActiveControl,write=SetActiveControl};

Specifies the control that has focus on the form.

__property Controls::TWinControl * ActiveOleControl = {read=FActiveOleControl,write=SetActiveOleControl};

Specifies the OLE control on the form that reacts to changes in focus.

__property Forms::TFormBorderStyle BorderStyle = {read=FBorderStyle,write=SetBorderStyle};

Specifies the appearance and behavior of the form border.

__property Graphics::TCanvas * Canvas = {read=GetCanvas};

Provides access to the drawing area of the form.

__property System::DelphiInterface<Forms::IDesignerHook> Designer = {read=FDesigner,write=SetDesigner};

Specifies the designer interface for the form.

__property bool DropTarget = {read=FDropTarget,write=FDropTarget};

Specifies whether the form is the target of a drag-and-drop operation.

__property System::Set<Forms::Forms__6,0,5> FormState = {read=FFormState};

Indicates transitional state information about the form.

__property Forms::TGlassFrame * GlassFrame = {read=FGlassFrame,write=SetGlassFrame};

Access the GlassFrame under Windows Vista.

__property System::UnicodeString HelpFile = {read=FHelpFile,write=FHelpFile};

Specifies the name of the file the form uses to display Help.

__property bool KeyPreview = {read=FKeyPreview,write=FKeyPreview};

Specifies whether the form should receive keyboard events before the active control.

__property Menus::TMainMenu * Menu = {read=FMenu,write=SetMenu};

Specifies the form's main menu.

__property int ModalResult = {read=FModalResult,write=FModalResult};

Represents the return value of a form that is used as a modal dialog.

__property Forms::TMonitor * Monitor = {read=GetMonitor};

Provides access to the monitor on which the form appears.

__property System::DelphiInterface<Forms::IOleForm> OleFormObject = {read=FOleForm,write=FOleForm};

Specifies the IOleForm interface for an in-place OLE object contained in the form.

__property Forms::TPopupMode PopupMode = {read=FPopupMode,write=SetPopupMode};
__property bool ScreenSnap = {read=FScreenSnap,write=FScreenSnap};

Specifies whether form snaps to edge of screen.

__property int SnapBuffer = {read=FSnapBuffer,write=FSnapBuffer};

Specifies distance for screen snap.

__property Forms::TWindowState WindowState = {read=FWindowState,write=SetWindowState};

Represents how the form appears on the screen.

__property Forms::TCustomForm * PopupParent = {read=FPopupParent,write=set_PopupParent};

Sets an order for stacked forms that users cannot change.


Unit: Forms

Type: property

Visibility: public

Member Of: TCustomForm


Description

Embarcadero Technologies does not currently have any additional information. Please help us document this topic by using the Discussion page!

Personal tools
Translations
Newest Version