Vcl.StdActnMenus.TStandardMenuButton Methods
InheritedProtected
_AddRef | protected | Called when an application uses a component interface. |
_Release | protected | Called when an application releases a component interface. |
ActionChange | protected | Responds when the action associated with the control changes. |
AdjustSize | protected | Sets the size of the control as determined by the AutoSize property. |
AfterConstruction | public | Responds after the last constructor has executed. |
Assign | public | Copies the contents of another similar object. |
AssignTo | protected | Overrides the inherited AssignTo function to enable assignments to TAction objects. |
AsyncSchedule | protected | |
BeforeDestruction | public | Performs any necessary actions before the first destructor is called. |
BeginAutoDrag | protected | Begins automatic drag. |
BeginDrag | public | Starts the dragging of a control. |
BeginInvoke | public | Performs an asynchronous call to the method specified by either AProc or AFunc . |
BringToFront | public | Puts the control in front of all other controls in its parent control. |
CalcBounds | public | Calculates the size of the control. |
CalcCursorPos | protected | Gives the coordinates of the cursor, with respect to the origin of the control. |
CalcLayout | protected | Computes the layout of the menu item. |
CanAutoSize | protected | Indicates whether the control can resize itself automatically to accommodate its contents. |
CanObserve | protected | Checks if a component can be observed by a particular observer. |
CanResize | protected | OnCanResize event dispatcher. |
Changed | protected | Sends a CM_CHANGED message to the control. |
ChangeName | protected | Sets the private, internal storage for the Name property to the string passed in NewName . |
ChangeScale | protected | |
CheckDisposed | protected | This method is deprecated. |
CheckNonMainThreadUsage | public | Raised an EInvalidOperation exception when called on a non-main thread and RaiseOnNonMainThreadUsage is set to True . |
ClassInfo | public | Returns a pointer to the run-time type information (RTTI) table for the object type. |
ClassName | public | Returns a string indicating the type of the object instance (as opposed to the type of the variable passed as an argument). |
ClassNameIs | public | Determines whether an object is of a specific type. |
ClassParent | public | Returns the type of the immediate ancestor of a class. |
ClassType | public | Returns the class reference for the object's class. |
CleanupInstance | public | Performs finalization on long strings, variants, and interface variables within a class. |
Click | public | Executes the control's function. |
ClientToParent | public | Translates client coordinates to parent coordinates. |
ClientToScreen | public | Translates a given point from client area coordinates to global screen coordinates. |
CMDesignHitTest | protected | |
CMDialogChar | protected | Called when a predefined special key is pressed on Vcl.ActnCtrls.TCustomActionToolBar. |
CMEnabledChanged | protected | Repaints the surface of the custom button control when the control is enabled or disabled. |
CMFontChanged | protected | |
CMItemDropPoint | protected | |
CMItemSelected | protected | |
CMMouseEnter | protected | |
CMMouseLeave | protected | Responds when the mouse leaves the button control area. |
CMTextChanged | protected | Responds when the button's caption changes. |
ConstrainedResize | protected | Notify control of resize with constraints. |
Create | public | |
CreateTouchManager | protected | Instantiates a touch manager. |
DblClick | protected | OnDblClick event dispatcher. |
DefaultDockImage | protected | Handles the painting and erasing of a dock image. |
DefaultHandler | public | Provides message handling for all messages that do not have specific handlers. |
DefaultScalingFlags | protected | |
DefineProperties | protected | Provides methods to read and write the IsControl property to a stream such as a form file. |
DesignWndProc | public | |
Destroy | public | |
DestroyComponents | public | Destroys all owned components. |
Destroying | public | Indicates that the component and its owned components are about to be destroyed. |
Dispatch | public | Calls message-handling methods for the object, based on the contents of the Message parameter. |
DisposeOf (deprecated) | public | DisposeOf forces the execution of the destructor code in an object. |
Dock | public | Used internally to dock the control. |
DockTrackNoTarget | protected | Handles dragging of the control over an invalid docking target. |
DoContextPopup | protected | Is an OnContextPopup event dispatcher. |
DoDock | protected | Docking event dispatcher. |
DoDragDrop | protected | Executes the drag-and-drop operation. |
DoEndDock | protected | Is an OnEndDock event dispatcher. |
DoEndDrag | protected | Is an OnEndDrag event dispatcher. |
DoGesture | protected | Processes the unhandled gesturing events. |
DoGetGestureOptions | protected | Returns the interactive gestures and their options. |
DoMouseWheel | protected | Processes mouse wheel motion. |
DoMouseWheelDown | protected | Is an OnMouseWheelDown event dispatcher. |
DoMouseWheelUp | protected | Is an OnMouseWheelUp event dispatcher. |
DoStartDock | protected | Is an OnStartDockevent dispatcher. |
DoStartDrag | protected | |
DoStyleElementsChanged | protected | |
DragCanceled | protected | Provides the interface for a method that responds to the cancellation of a drag. |
DragDrop | public | Performs actions and generates an OnDragDrop event. |
Dragging | public | Indicates whether a control is being dragged. |
DragOver | protected | Is an OnDragOver event dispatcher. |
DrawBackground | protected | |
DrawDesignFocus | protected | |
DrawDragDockImage | protected | Draws the dock image for the control. |
DrawDragDropPoint | protected | |
DrawFrame | protected | |
DrawGlyph | protected | Draws a symbol on the control. |
DrawLargeGlyph | protected | Draws a large image on the control. |
DrawSeparator | protected | |
DrawShadowedText | protected | Draws a text and its shadow on the control. |
DrawText | protected | |
DrawTextBiDiModeFlags | public | Returns the text flags that reflect the current setting of the BiDiMode property. |
DrawTextBiDiModeFlagsReadingOnly | public | Returns the text flag to add that indicates whether the control's text should read from right to left. |
EndDrag | public | Stops a control from being dragged any further. |
EndFunctionInvoke | public | Blocks the caller until the specified ASyncResult completes. |
EndInvoke | public | Blocks the caller until the specified ASyncResult completes. |
Equals | public | Checks whether the current instance and the Obj parameter are equal. |
EraseDragDockImage | protected | Erases the dock image for the control. |
ExecuteAction | public | Executes an action. |
FieldAddress | public | Returns the address of a published object field. |
FindComponent | public | Indicates whether a given component is owned by the component. |
FindImageList | protected | |
Free | public | Destroys an object and frees its associated memory, if necessary. |
FreeInstance | public | Deallocates memory allocated by a previous call to the NewInstance method. |
FreeNotification | public | Ensures that AComponent is notified that the component is going to be destroyed. |
FreeOnRelease | public | Frees the interface reference for components that were created from COM classes. |
GetAction | protected | |
GetActionLinkClass | protected | Returns the appropriate action link class that is associated with the control class. |
GetAllocatedWindowHandle | protected | |
GetChildOwner | protected | Returns the owner of a child component being read from a stream. |
GetChildParent | protected | Returns the parent or, if there is no parent, returns the owner of a child component being read from a stream. |
GetChildren | protected | Enumerates all child components. |
GetClientOrigin | protected | Returns the screen coordinates of the upper-left corner of the control's client area. |
GetClientRect | protected | Returns a rectangle defining the client area of the control. |
GetControlsAlignment | public | Indicates how text is aligned within the control. |
GetCurrentPPI | protected | |
GetDeltaStreams | protected | Retrieves a list of streams representing the differences (deltas) between the current state of a component and a previously saved state. |
GetDesignDpi | protected | Obtains the design Dpi for the form where the control was designed. |
GetDeviceContext | protected | Returns a device context for the control. |
GetDisposed | protected | Getter for the Disposed property. |
GetDockEdge | protected | Returns the edge on which another control should be docked when it is dragged over the control. |
GetDPIForDesigner | protected | |
GetDragImages | protected | Returns the control's image list containing the image to be displayed while dragging. |
GetDragMode | protected | Returns the value of the DragMode property. |
GetEnabled | protected | Returns the value of the Enabled property. |
GetEnumerator | public | Returns a TComponent enumerator. |
GetFloating | protected | Returns the value of the Floating property. |
GetFloatingDockSiteClass | protected | Returns the class used for the control when it is floating. |
GetHashCode | public | Returns an integer containing the hash code. |
GetIDsOfNames | protected | Maps a single member and an optional set of argument names to a corresponding set of integer dispatch identifiers (dispIDs). |
GetImageSize | protected | |
GetInterface | public | Retrieves a specified interface. |
GetInterfaceEntry | public | Returns the entry for a specific interface implemented in a class. |
GetInterfaceTable | public | Returns a pointer to a structure containing all of the interfaces implemented by a given class. |
GetInternalStyleElements | public | Indicates the name of this component's internal elements style returning a TStyleElements enumerator. |
GetNamePath | public | Returns a string used by the Object Inspector. |
GetObservers | protected | Getter of Observers. |
GetOwner | protected | Returns the owner of a component. |
GetPalette | protected | Returns the handle to a palette for use by the control. |
GetParentComponent | public | Returns the parent of the control. |
GetParentCurrentDpi | protected | Obtains the current Dpi for parent control, or the current control Dpi if there is no parent. |
GetPopupMenu | protected | Returns the pop-up menu associated with the control. |
GetSeparator | protected | |
GetShowCaption | protected | |
GetShowShortCut | protected | Getter method for the ShowShortCut property. |
GetStyleElements | protected | |
GetStyleName | public | Returns a string specifying the name of this component style. |
GetSystemMetrics | public | Returns Windows metrics for a control. |
GetTextBuf | public | Retrieves the control's text, copies it into a buffer, and returns the number of characters copied. |
GetTextLen | public | Returns the length of the control's text. |
GetTypeInfo | protected | Retrieves the type information for an object. |
GetTypeInfoCount | protected | Returns the number of type information interfaces that an object provides (either 0 or 1). |
HasGlyph | protected | |
HasParent | public | Indicates whether the control has a parent. |
Hide | public | Makes the control invisible. |
InheritsFrom | public | Determines the relationship of two object types. |
InitiateAction | public | Calls the action client's Update method if the control is associated with an action client. |
InitInstance | public | Initializes a newly allocated object instance to all zeros and initializes the instance's virtual method table pointer. |
InsertComponent | public | Establishes the component as the owner of a specified component. |
InstanceSize | public | Returns the size in bytes of each instance of the object type. |
Invalidate | public | Completely repaints the control. |
Invoke | protected | Provides access to Automation properties and methods when the component wraps an Automation object. |
IsChecked | protected | |
IsCustomStyleActive | public | |
IsGrouped | protected | |
IsImplementorOf | public | Indicates whether the component implements a specified interface. |
IsLightStyleColor | public | Returns True when AColor is a light color. |
IsRightToLeft | public | Indicates whether the control should be reversed right to left. |
IsTouchPropertyStored | protected | Checks whether the associated touch manager stored any of the given options. |
Keyed | public | Executes the button's function in response to a keyboard command. |
Loaded | protected | Initializes the custom button control after it is loaded from a stream. |
ManualDock | public | Docks the control. |
ManualFloat | public | Undocks the control. |
MethodAddress | public | Returns the address of a class method by name. |
MethodName | public | Returns the name of a class method by address. |
MouseActivate | protected | Triggers a TMouseActivateEvent event. |
MouseDown | protected | |
MouseMove | protected | Responds to mouse moving over the custom button control area. |
MouseUp | protected | |
MouseWheelHandler | public | Dispatches messages received from a mouse wheel. |
NewInstance | public | Allocates memory for an instance of an object type and returns a pointer to that new instance. |
Notification | protected | Responds to notifications indicating that components are being created or destroyed. |
ObserverAdded | protected | Allows the component to handle the addition of an observer. |
operator () | public | C++ conversion of a TComponent into a System.Classes.IInterfaceComponentReference or a System.IInterface, depending on casting. |
Paint | protected | |
PaletteChanged | protected | Responds to changes in the system's palette by realizing the control's palette. |
ParentToClient | public | Translate parent coordinates to client coordinates. |
Perform | public | Responds as if the control received a specified Windows message. |
PositionChanged | protected | Repositions the control. |
PositionDockRect | protected | Positions the docking rectangle according to the current drag-and-dock state. |
QualifiedClassName | public | Returns the qualified name of the class. |
QueryInterface | protected | Returns a reference to a specified interface if the current component supports that interface. |
ReadState | protected | Prepares the control for having its properties assigned values read from a stream. |
ReferenceInterface | public | Establishes or removes internal links that cause this component to be notified when the implementer of a specified interface is destroyed. |
Refresh | public | Repaints the control on the screen. |
RemoveComponent | public | Removes a specified component specified from the component's Components list. |
RemoveFreeNotification | public | Disables the destruction notification that was enabled by FreeNotification. |
RemoveFreeNotifications | protected | Notifies all owned components of the owner component's imminent destruction. |
Repaint | public | Forces the control to repaint its image on the screen. |
ReplaceDockedControl | public | Docks the control in the place where another control is already docked. |
RequestAlign | protected | |
ResetUsageData | protected | |
Resize | protected | Respond to control resize. |
SafeCallException | public | Handles exceptions in methods declared using the safecall calling convention. |
ScaleConstraints | protected | Scales the values of the Constraints property to the given ratio. |
ScaleForPPI | public | Adjusts the scaling of the current control for the specified Pixels Per Inch (PPI). |
ScaleMargins | protected | Scales the values of the Margins property to the given ratio. |
ScaleRectSize | public | Scales Value rectangle size using the current ScaleFactor. |
ScaleValue | public | The overloaded ScaleValue methods return a measure passed as parameter scaled by the current scale factor for the control (the value of the ScaleFactor read-only property). |
ScreenToClient | public | Converts the screen coordinates of a specified point on the screen to client coordinates. |
SendCancelMode | protected | Cancels the modal state of the control. |
SendDockNotification | protected | Sends a Windows message to the control's host dock site. |
SendToBack | public | Puts a windowed control behind all other windowed controls, or puts a non-windowed control behind all other non-windowed controls. |
SetActionClient | protected | Sets the control's action client. |
SetAncestor | protected | Clears or sets csAncestor state in the component's ComponentState property. |
SetAutoSize | protected | Sets the value of the AutoSize property. |
SetBiDiMode | protected | Sets the control's bidirectional mode. |
SetBounds | public | Sets the Left, Top, Width, and Height properties all at once. |
SetChildOrder | protected | Sets the visual ordering of a child control. |
SetCustomHint | protected | Sets the value of the CustomHint property. |
SetDesigning | protected | Ensures that components inserted at design time have their design-mode flag set. |
SetDesignInstance | protected | Ensures that components inserted at design time have their design-mode flag set. |
SetDesignVisible | public | Makes a control visible at design time. |
SetDragMode | protected | Sets the drag mode for the control. |
SetDropPoint | protected | |
SetEnabled | protected | Sets the value of the Enabled property. |
SetGlyphLayout | protected | Sets the glyph layout of the control button. |
SetInline | protected | Sets the csInline bit of the component's ComponentState property. |
SetName | protected | Sets the name of the control. |
SetParent | protected | Sets the parent of the control. |
SetParentBiDiMode | protected | Specifies whether the control uses its parent's BiDiMode. |
SetParentComponent | public | Sets the parent for the control. |
SetSelected | protected | Represents the setter method for the Selected property. |
SetStyleElements | protected | |
SetStyleName | protected | |
SetSubComponent | public | Identifies whether the component is a subcomponent. |
SetTextBuf | public | Sets the text of the control. |
SetZOrder | protected | Repositions the control in its parent's control list, thereby changing position onscreen. |
Show | public | Makes a control visible. |
StyleServices | public | |
ToString | public | Returns a string containing the class name. |
UnitName | public | Returns the name of the unit where the class is defined. |
UnitScope | public | Returns the class's unit scope. |
Update | public | Processes any pending paint messages immediately. |
UpdateAction | public | Updates the state of an action. |
UpdateBoundsRect | protected | Changes the Top, Left, Width, and Height properties of the control, but does not update its screen image and bypasses all resize events. |
Updated | protected | Clears the csUpdating state in the component's ComponentState property when the component finishes updating. |
UpdateExplicitBounds | protected | Attempts to update the values of the control's explicit bounds to those of its current bounds. |
UpdateRegistry | protected | Provides the interface for a method that adds type library and version information to the Registry on components that implement COM interfaces. |
UpdateSelection | protected | |
UpdateStyleElements | protected | Called when the StyleElements property changes. |
UpdateTextBounds | protected | |
Updating | protected | Sets the csUpdating state in the component's ComponentState property. |
UseRightToLeftAlignment | public | Specifies whether the control's alignment should be reversed right-to-left. |
UseRightToLeftReading | public | Specifies whether the control is using a right-to-left reading order. |
UseRightToLeftScrollBar | public | Specifies whether the vertical scroll bar appears on the left side of the control. |
ValidateContainer | protected | Determines whether an object can be inserted into a container. |
ValidateInsert | protected | Provides the interface for a method that validates a child component before it is inserted. |
ValidateRename | protected | Ensures that renaming an owned component does not create a name conflict. |
VisibleChanging | protected | Provides the interface for a method that responds to changes in the control's visibility. |
WMLButtonDblClk | protected | Called when the user double-clicks the left mouse button while the cursor is in the client area of a button control. |
WMSetText | protected | |
WndProc | protected | Provides specific message responses for the control. |
WriteState | protected | Writes the state of the component. |