Vcl.Forms.TForm Events

From RAD Studio API Documentation
Jump to: navigation, search


InheritedProtected
OnActivatepublishedOccurs when the form becomes active.
OnAfterMonitorDpiChangedpublishedOccurs immediately after the user changes the monitor DPI.
OnAlignInsertBeforepublishedOccurs when an object with custom alignment is aligned.
OnAlignPositionpublishedOccurs when an object with custom alignment is aligned.
OnBeforeMonitorDpiChangedpublishedOccurs immediately before the user changes the monitor DPI.
OnCanResizepublishedOccurs when an attempt is made to resize the control.
OnClickpublishedOccurs when the user clicks the control.
OnClosepublishedOccurs when the form closes.
OnCloseQuerypublishedOccurs when close is attempted.
OnConstrainedResizepublishedAdjusts the resize constraints.
OnContextPopuppublishedOccurs when the user right-clicks the control or otherwise invokes the pop-up menu (such as using the keyboard).
OnCreatepublishedOccurs when the form is created.
OnDblClickpublishedOccurs when the user double-clicks the left mouse button when the mouse pointer is over the control.
OnDeactivatepublishedOccurs when the form loses focus.
OnDestroypublishedOccurs when the form is destroyed.
OnDockDroppublishedOccurs when another control is docked to the control.
OnDockOverpublishedOccurs when another control is dragged over the control.
OnDragDroppublishedOccurs when the user drops an object being dragged.
OnDragOverpublishedOccurs when the user drags an object over a control.
OnEndDockpublishedOccurs 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.
OnExitprotectedOccurs when the input focus shifts away from one control to another.
OnGesturepublishedOccurs when you perform a gesture associated with this control.
OnGetDeltaStreamsprotected
OnGetSiteInfopublishedReturns the control's docking information.
OnHelppublishedOccurs when the form receives a request for Help.
OnHidepublishedOccurs when the form is hidden (that is, when its Visible property is set to false).
OnKeyDownpublishedOccurs when a user presses any key while the control has focus.
OnKeyPresspublishedOccurs when a key is pressed.
OnKeyUppublishedOccurs when the user releases a key that was pressed.
OnMouseActivatepublishedOccurs when the user presses a mouse button with the mouse pointer over a control and the parent form is not active.
OnMouseDownpublishedOccurs when the user presses a mouse button with the mouse pointer over a control.
OnMouseEnterpublishedOccurs when the user moves the mouse into a control.
OnMouseLeavepublishedOccurs when the user moves the mouse outside of a control.
OnMouseMovepublishedOccurs when the user moves the mouse pointer while the mouse pointer is over a control.
OnMouseUppublishedOccurs when the user releases a mouse button that was pressed with the mouse pointer over a component.
OnMouseWheelpublishedOccurs when the mouse wheel is rotated.
OnMouseWheelDownpublishedOccurs when the mouse wheel is rotated downward.
OnMouseWheelUppublishedOccurs when the mouse wheel is rotated upward.
OnPaintpublishedOccurs when the form is redrawn.
OnResizepublishedOccurs immediately after the control is resized.
OnShortCutpublishedOccurs when the user presses a key (before the OnKeyDown event).
OnShowpublishedOccurs when the form is shown (that is, when its Visible property is set to true).
OnStartDockpublishedOccurs 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.
OnUnDockpublishedOccurs 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.