Vcl.Forms.TCustomActiveForm 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.
OnAlignInsertBeforepublicOccurs when an object with custom alignment is aligned.
OnAlignPositionpublicOccurs when an object with custom alignment is aligned.
OnBeforeMonitorDpiChangedpublishedOccurs immediately before the user changes the monitor DPI.
OnCanResizeprotectedOccurs when an attempt is made to resize the control.
OnClickpublishedOccurs when the user clicks the control.
OnCloseprotectedOccurs when the form closes.
OnCloseQueryprotectedOccurs when close is attempted.
OnConstrainedResizeprotectedAdjusts 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.
OnDockDropprotectedOccurs when another control is docked to the control.
OnDockOverprotectedOccurs 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.
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.
OnGetDeltaStreamsprotectedAllows a component to generate and provide a list of delta streams representing changes to the component's state.
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).
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.
OnMouseWheelprotectedOccurs when the mouse wheel is rotated.
OnMouseWheelDownprotectedOccurs when the mouse wheel is rotated downward.
OnMouseWheelUpprotectedOccurs when the mouse wheel is rotated upward.
OnPaintpublishedOccurs 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.