[Overview][Types][Classes][Procedures and functions][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Implements a shaped control with an arbitrary geometric shape.
Source position: extctrls.pp line 306
type TShape = class(TCustomShape) |
||
published |
||
|
Specifies the placement of the control on its Parent control. |
|
|
The set of anchor definitions for this control. |
|
property BorderSpacing: TControlBorderSpacing; |
|
Determines the inner and outer border spacing for this control. |
|
The Brush used to fill the shaped control. |
|
property Constraints: TSizeConstraints; |
|
Contains the minimum and maximum Width and Height for the control. |
property DragCursor: TCursor; |
|
The cursor shape shown during a drag operation. |
|
Indicates the action performed for a drag operation: drag-and-drop or drag-and-dock. |
|
|
Determines how a drag operation is started for the control. |
|
property Enabled: Boolean; |
|
Determines whether the control responds to mouse or keyboard input. |
property ParentShowHint: Boolean; |
|
If True, the value of ShowHint for the control will be the same as the one from the Parent. Default is True. |
|
The Pen used to draw lines on the shaped control. |
|
property Shape: TShapeType; |
|
Indicates the geometric shape drawn on the shaped control. |
property ShowHint: Boolean; |
|
Enables Hint display for the control. |
property Visible: Boolean; |
|
Allows the control, and all of its children, to be displayed or hidden. |
property OnChangeBounds: TNotifyEvent; |
|
Event handler signalled when the Bounds for the control have been changed. |
property OnClick: TNotifyEvent; |
|
Notification handler for mouse clicks. |
property OnDragDrop: TDragDropEvent; |
|
Event handler signalled when an object is dropped onto the control. |
property OnDragOver: TDragOverEvent; |
|
Event handler signalled when a control is dragged over the control instance. |
property OnEndDock: TEndDragEvent; |
|
Event handler signalled for the end of a drag-dock operation. |
property OnEndDrag: TEndDragEvent; |
|
Event handler signalled for the end of a drag-drop operation. |
property OnMouseDown: TMouseEvent; |
|
Event handler signalled when a mouse down event is handled for the control. |
property OnMouseEnter: TNotifyEvent; |
|
Event handler signalled when the mouse pointer has entered the control. |
property OnMouseLeave: TNotifyEvent; |
|
Event handler signalled when the mouse pointer has left the control. |
property OnMouseMove: TMouseMoveEvent; |
|
Event handler signalled when the mouse pointer is moved in the control. |
property OnMouseUp: TMouseEvent; |
|
Event handler signalled when a mouse up event is handled for the control. |
property OnMouseWheel: TMouseWheelEvent; |
|
Event handler for mouse wheel turned. |
property OnMouseWheelDown: TMouseWheelUpDownEvent; |
|
Event handler signalled for a downward movement of the mouse wheel. |
property OnMouseWheelUp: TMouseWheelUpDownEvent; |
|
Event handler signalled for an upward movement of the mouse wheel. |
property OnMouseWheelHorz: TMouseWheelEvent; |
|
Event handler signalled for a horizontal movement of the mouse wheel. |
property OnMouseWheelLeft: TMouseWheelUpDownEvent; |
|
Event handler signalled for a leftward movement of the mouse wheel. |
property OnMouseWheelRight: TMouseWheelUpDownEvent; |
|
Event handler signalled for a rightward movement of the mouse wheel. |
property OnPaint: TNotifyEvent; |
|
Event handler signalled to paint the control. |
property OnResize: TNotifyEvent; |
|
Notification handler for a resize of the control. |
property OnStartDock: TStartDockEvent; |
|
Event handler for the start of a docking operation. |
property OnStartDrag: TStartDragEvent; |
|
Event handler signalled for the start of a dragging operation. |
property OnShapeClick: TNotifyEvent; |
|
Event handler signalled for a mouse click within the shaped control. |
property OnShapePoints: TShapePointsEvent; |
|
Event handler signalled to get a custom vertices for the shape drawn on the control. |
end; |
|
Implements a shaped control with an arbitrary geometric shape. |
|
| | ||
|
Defines a shaped control with an arbitrary geometric shape. |
|
| | ||
|
TGraphicControl is the base class for all lightweight controls. |
|
| | ||
|
The base class for visible controls. |
|
| | ||
|
The base class for LCL components which have an associated widget. |
|
| | ||
| | ||
| | ||
TShape is a TCustomShape descendant used to draw the control with an arbitrary geometric shape. The Shape property determines which geometric shape is displayed, and can be one of a series of standard shapes defined in the TShapeType enumeration. The Brush and Pen properties control the fill and line attributes for the shaped control.
Modified in LCL version 4.0 to be a TCustomShape descendant.
|
Defines a shaped control with an arbitrary geometric shape. |
|
|
TShapeType is an enumerated type with values representing standard geometric shapes. |
Version 4.0 | Generated 2025-05-03 | Home |