TControlDesignerFrame Class
TControlDesignerFrame is a visual control that displays the frame around the form being edited in the embedded form designer (TIDEFormDesignControl). It is used internally by TIDEFormDesignControl only.
Syntax
Unit: IDEMain
TControlDesignerFrame = class(TCustomControl);
Methods
Name
Description
UpdatePosition
Updates the frame position according to the associated control position, so the frame stays around the control.
Properties
Name
Description
Brush
Contains the Brush used to draw the frame.
Control
Control property contains the associated control which will be surrounded and moved by the frame.
DirectDrag
Indicates whether the associated control is moved/resized directly during drag, or only at the end of the drag operation.
EnableKeys
Makes the frame control to get focus automatically so keyboard moving/resizing can be performed by the end user.
FrameWidth
Specifies the width of the frame.
GrabBorderColor
Contains the border color of the grab handles of the frame.
GrabColor
Contais the fill color of the grab handles of the frame.
GrabSize
Contains the size of the grab handles of the frame.
MinSize
Contains the minimum size of the frame. Valid for both width and height.
Pen
Contains the Pen used to draw the frame.
RemovedZones
Specifies the mouse zones that will be disable when moving/resizing the frame.
ShowMoveSizeHint
If true, a hint with current size is displayed while the control is resized.
Style
Specifies the visual style of the frame, like Delphi style, or Visual Studio style.
Events
Name
Description
OnDblClick
OnDblClick event is fired when the frame is double clicked by the end-user.