Vcl.Forms.TCustomForm Events

From RAD Studio API Documentation
Jump to: navigation, search


InheritedProtected
OnActivateprotectedOccurs when the form becomes active.
OnAfterMonitorDpiChangedprotectedOccurs immediately after the user changes the monitor DPI.
OnAlignInsertBeforepublicOccurs when an object with custom alignment is aligned.
OnAlignPositionpublicOccurs when an object with custom alignment is aligned.
OnBeforeMonitorDpiChangedprotectedOccurs immediately before the user changes the monitor DPI.
OnCanResizeprotectedOccurs when an attempt is made to resize the control.
OnClickprotectedOccurs when the user clicks the control.
OnCloseprotectedOccurs when the form closes.
OnCloseQueryprotectedOccurs when close is attempted.
OnConstrainedResizeprotectedAdjusts the resize constraints.
OnContextPopupprotectedOccurs when the user right-clicks the control or otherwise invokes the pop-up menu (such as using the keyboard).
OnCreateprotectedOccurs when the form is created.
OnDblClickprotectedOccurs when the user double-clicks the left mouse button when the mouse pointer is over the control.
OnDeactivateprotectedOccurs when the form loses focus.
OnDestroyprotectedOccurs when the form is destroyed.
OnDockDropprotectedOccurs when another control is docked to the control.
OnDockOverprotectedOccurs when another control is dragged over the control.
OnDragDropprotectedOccurs when the user drops an object being dragged.
OnDragOverprotectedOccurs when the user drags an object over a control.
OnEndDockprotectedOccurs when the dragging of an object ends, either by docking the object or by canceling the dragging.
OnEndDragprotectedOccurs when the dragging of an object ends, either by dropping the object or by canceling the dragging.
OnEnterprotectedOccurs when a control receives the input focus.
OnEnumerateControlpublicEvent called to check whether a control should be enumerated by GetControls.
OnExitprotectedOccurs when the input focus shifts away from one control to another.
OnGesturepublicOccurs when you perform a gesture associated with this control.
OnGetDeltaStreamsprotected
OnGetSiteInfoprotectedReturns the control's docking information.
OnHelpprotectedOccurs when the form receives a request for Help.
OnHideprotectedOccurs when the form is hidden (that is, when its Visible property is set to false).
OnKeyDownprotectedOccurs when a user presses any key while the control has focus.
OnKeyPressprotectedOccurs when a key is pressed.
OnKeyUpprotectedOccurs when the user releases a key that was pressed.
OnMouseActivateprotectedOccurs when the user presses a mouse button with the mouse pointer over a control and the parent form is not active.
OnMouseDownprotectedOccurs when the user presses a mouse button with the mouse pointer over a control.
OnMouseEnterprotectedOccurs when the user moves the mouse into a control.
OnMouseLeaveprotectedOccurs when the user moves the mouse outside of a control.
OnMouseMoveprotectedOccurs when the user moves the mouse pointer while the mouse pointer is over a control.
OnMouseUpprotectedOccurs when the user releases a mouse button that was pressed with the mouse pointer over a component.
OnMouseWheelprotectedOccurs when the mouse wheel is rotated.
OnMouseWheelDownprotectedOccurs when the mouse wheel is rotated downward.
OnMouseWheelUpprotectedOccurs when the mouse wheel is rotated upward.
OnPaintprotectedOccurs when the form is redrawn.
OnResizeprotectedOccurs immediately after the control is resized.
OnShortCutprotectedOccurs when the user presses a key (before the OnKeyDown event).
OnShowprotectedOccurs when the form is shown (that is, when its Visible property is set to true).
OnStartDockprotectedOccurs when the user begins to drag a control with a DragKind of dkDock.
OnStartDragprotectedOccurs when the user begins to drag the control or an object it contains by left-clicking the control and holding the mouse button down.
OnUnDockprotectedOccurs when the application tries to undock a control that is docked to the windowed control.
WindowProcpublicPoints to the window procedure that responds to messages sent to the control.