RAD Studio VCL Reference
|
The following tables list the members exposed by TShape.
|
Name |
Description |
|
Occurs when an attempt is made to resize the control. | |
|
Occurs when the user clicks the control. | |
|
Adjust resize constraints. | |
|
Occurs when the user double-clicks the left mouse button when the mouse pointer is over the control. | |
|
Occurs when the mouse wheel is rotated. | |
|
Occurs when the mouse wheel is rotated downward. | |
|
Occurs when the mouse wheel is rotated upward. | |
|
Occurs immediately after the control is resized. |
|
Name |
Description |
|
Specifies whether the control must keep its dimensions when it is moved, while being anchored to the form. | |
|
Specifies the coordinates of the anchor associated with the control. | |
|
Specifies the original coordinates of the anchor associated with the control. | |
|
FComponentStyle is the field of the ComponentStyle read-only property. | |
|
Specifies the explicit vertical size of the control in pixels. | |
|
Specifies the explicit horizontal pixel coordinate of the left edge of a component. The coordinate is relative to the component’s parent. | |
|
Specifies the explicit vertical pixel coordinate of the top edge of a component. The coordinate is relative to the component's parent. | |
|
Specifies the explicit horizontal size of the control in pixels. | |
|
Specifies the original size of the parent to which the control is anchored. | |
|
FReserved is an internal Delphi variable and should not be used. |
|
Name |
Description |
|
Called when an application uses a component interface. | |
|
Called when an application releases a component interface. | |
|
Responds when the action associated with the control changes. | |
|
Sets the size of the control as determined by the AutoSize property. | |
|
Copies the properties of an object to a destination object. | |
|
Overrides the inherited AssignTo function to enable assignments to TAction objects. | |
|
Begin Automatic Drag. | |
|
Gives the coordinates of the cursor, with respect to the origin of the control. | |
|
Indicates whether the control can resize itself automatically to accommodate its contents. | |
|
OnCanResize event dispatcher. | |
|
Sends a CM_CHANGED message to the control. | |
|
Sets the private, internal storage for the Name property to the string passed in NewName. | |
|
Rescaling event dispatcher. | |
|
Respond to user click. | |
|
Notify control of resize with constraints. | |
|
OnDblClick event dispatcher. | |
|
Handles the painting and erasing of a dock image. | |
|
Designates methods for storing an object's unpublished data on a stream such as a form file. | |
|
Provides an interface for a method that reads and writes otherwise unpublished data. | |
|
Provides methods to read and write the IsControl property to a stream such as a form file. | |
|
Processes the given message and returns some Boolean information based on the message's content. | |
|
Handles dragging of the control over an invalid docking target. | |
|
OnContextPopup event dispatcher. | |
|
Docking event dispatcher. | |
|
OnEndDock event dispatcher. | |
|
OnEndDrag event dispatcher. | |
|
Processes mouse wheel motion. | |
|
OnMouseWheelDown event dispatcher. | |
|
OnMouseWheelUp event dispatcher. | |
|
OnStartDock event dispatcher. | |
|
OnStartDrag event dispatcher. | |
|
Provides the interface for a method that responds to the cancellation of a drag. | |
|
OnDragOver event dispatcher. | |
|
Draws the dock image for the control. | |
|
Erases the dock image for the control. | |
|
Returns the value of the Action property. | |
|
Returns the appropriate action link class that is associated with the control class. | |
|
Returns the owner of a child component being read from a stream. | |
|
Returns the parent, or if there is no parent, returns the owner of a child component being read from a stream. | |
|
Enumerates all child components. | |
|
Returns the screen coordinates of the top-left corner of the control's client area. | |
|
Returns a rectangle defining the client area of the control. | |
|
Returns a device context for the control. | |
|
Returns the edge on which another control should be docked when it is dragged over the control. | |
|
Returns the control's image list containing the image to be displayed while dragging. | |
|
Returns the value of the DragMode property. | |
|
Returns the value of the Enabled property. | |
|
Returns the value of the Floating property. | |
|
Returns the class used for the control when it is floating. | |
|
Maps a single member and an optional set of argument names to a corresponding set of integer dispatch identifiers (dispIDs). | |
|
Returns the owner of a component. | |
|
Returns the owner of an object. | |
|
Returns the handle to a palette for use by the control. | |
|
Returns the pop-up menu associated with the control. | |
|
Retrieves the type information for an object. | |
|
Returns the number of type information interfaces that an object provides (either 0 or 1). | |
|
Provides access to Automation properties and methods when the component wraps an Automation object. | |
|
Initializes the component after the form file has been read into memory. | |
|
Initializes the control after it is loaded from a stream. | |
|
Triggers a TMouseActivateEvent event. | |
|
OnMouseDown event dispatcher. | |
|
Respond to mouse moving over control area.. | |
|
OnMouseUp event dispatcher. | |
|
Forwards notification messages to all owned components. | |
|
Responds to notifications that components are being created or destroyed. | |
|
Render control surface. | |
|
Responds to changes in the system's palette by realizing the control's palette. | |
|
Responds when the component is created from the component palette. | |
|
Positions the docking rectangle according to the current drag-and-dock state. | |
|
Returns a reference to a specified interface if the object supports that interface. | |
|
Reads the state of the component. | |
|
Prepares the control for having its properties assigned values read from a stream. | |
|
Instructs the parent of a control to reposition the control, enforcing its Align property. | |
|
Respond to control resize. | |
|
Scales the values of the Constraints property to the given ratio. | |
|
Scales the values of the Margins property to the given ratio. | |
|
Cancels the modal state of the control. | |
|
Sends a Windows message to the control's host dock site. | |
|
Clears or sets csAncestor state in the component's ComponentState property. | |
|
Sets the value of the AutoSize property. | |
|
Sets the control's bi-directional mode. | |
|
Sets the visual ordering of a child control. | |
|
Sets the value of the CustomHint property. | |
|
Ensures that components inserted at design time have their design-mode flag set. | |
|
Ensures that components inserted at design time have their design-mode flag set. | |
|
Sets the drag mode for the control. | |
|
Sets the value of the Enabled property. | |
|
Sets the csInline bit of the component's ComponentState property | |
|
Sets the value of the Name property. | |
|
Sets the name of the control. | |
|
Sets the parent of the control. | |
|
Specifies whether the control uses its parent's BiDiMode. | |
|
Sets the parent component. | |
|
Repositions the control in its parent's control list, thereby changing position onscreen. | |
| ||
|
Clears the csUpdating state in the component's ComponentState property when the component finishes updating. | |
|
Attempts to update the values of the explicit bounds of the control to those of its current bounds. | |
|
Provides the interface for a method that adds type library and version information to the Registry on components that implement COM interfaces. | |
|
Sets the csUpdating state in the component's ComponentState property. | |
|
Determines whether an object can be inserted into a container. | |
|
Provides the interface for a method that validates an child component before it is inserted. | |
|
Ensures that renaming an owned component does not create name conflict. | |
|
Provides the interface for a method that responds to changes in the control's visibility. | |
|
Provides specific message responses for the control. | |
|
Writes the state of the component. |
|
Name |
Description |
|
Contains the action link object associated with the control. | |
|
Specifies whether the control sizes itself automatically to accommodate its contents. | |
|
Provides the drawing surface used by the graphic control. | |
|
Specifies a text string that identifies the control to the user. | |
|
Specifies the background color of the control. | |
|
Specifies whether the control uses the Windows icon font when writing text. | |
|
Controls the attributes of text written on or in the control. | |
|
Determines whether a form stores its form-specific properties to a stream. | |
|
Indicates whether the control has "captured" mouse events. | |
|
Specifies whether the control uses its parent's BiDiMode. | |
|
Determines where a control looks for its color information. | |
|
Determines where a control looks for its font information. | |
|
Identifies the pop-up menu associated with the control. | |
|
Reflects which attributes of the control have been scaled. | |
|
Contains a text string associated with the control. | |
|
Accumulates mouse wheel rotations. | |
|
Contains the text string of the control. |
|
Name |
Description |
|
Points to the window procedure that responds to messages sent to the control. |
|
Name |
Description |
|
Increments the reference count for this interface. | |
|
Decrements the reference count for this interface. | |
|
Responds after the last constructor has executed. | |
|
Copies the contents of another, similar object. | |
|
Performs any necessary actions before the first destructor is called. | |
|
Responds before the first destructor executes. | |
|
Starts the dragging of a control. | |
|
Puts the control in front of all other controls in its parent control. | |
|
Returns a pointer to the runtime type information (RTTI) table for the object type. | |
|
Returns a string indicating the type of the object instance (as opposed to the type of the variable passed as an argument). | |
|
Determines whether an object is of a specific type. | |
|
Returns the type of the immediate ancestor of a class. | |
|
Returns the class reference for the object's class. | |
|
Performs finalization on long strings, variants, and interface variables within a class. | |
|
Translates client coordinates to parent coordinates. | |
|
Translates a given point from client area coordinates to global screen coordinates. | |
|
Creates an instance of TShape. | |
|
Provides message handling for all messages that do not have specific handlers. | |
|
Provides the interface for a method that processes message records. | |
|
Destroys of an instance of TShape. | |
|
Destroys all owned components. | |
|
Indicates that the component and its owned components are about to be destroyed. | |
|
Calls message-handling methods for the object, based on the contents of the Message parameter. | |
|
Used internally to dock the control. | |
|
OnDragDrop event dispatcher. | |
|
Indicates whether a control is being dragged. | |
|
Returns the text flags that reflect the current setting of the BiDiMode property. | |
|
Returns the text flag to add that indicates whether the control's text should read from right to left. | |
|
Stops a control from being dragged any further. | |
|
Checks if the current instance and the parameter are equal. | |
|
Executes an action. | |
|
This is the overview for the FieldAddress method overload. | |
|
Indicates whether a given component is owned by the component. | |
|
Destroys an object and frees its associated memory, if necessary. | |
|
Deallocates memory allocated by a previous call to the System::TObject::NewInstance method. | |
|
Ensures that AComponent is notified that the component is going to be destroyed. | |
|
Frees the interface reference for components that were created from COM classes. | |
|
Returns a reference to the component associated by the implementing class. | |
|
Indicates how text is aligned within the control. | |
|
Returns a TComponent enumerator. | |
|
Returns an integer containing the hash code. | |
|
Retrieves a specified interface. | |
|
Returns the entry for a specific interface implemented in a class. | |
|
Returns a pointer to a structure containing all of the interfaces implemented by a given class. | |
|
Returns a string used by the Object Inspector. | |
|
Returns the name of the object as it appears in the Object Inspector. | |
|
Returns the containing Component. | |
|
Returns the parent of the control. | |
|
Retrieves the control's text, copies it into a buffer, and returns the number of characters copied. | |
|
Returns the length of the control's text. | |
|
Verifies whether the component has a parent. | |
|
Indicates whether the control has a parent. | |
|
Makes the control invisible. | |
|
Determines the relationship of two object types. | |
|
Calls the action link's Update method if the control is associated with an action link. | |
|
Initializes a newly allocated object instance to all zeros and initializes the instance's virtual method table pointer. | |
|
Establishes the component as the owner of a specified component. | |
|
Returns the size in bytes of each instance of the object type. | |
|
Completely repaint control. | |
|
Indicates whether the component implements a specified interface. | |
|
Indicates whether the control should be reversed right to left. | |
|
Docks the control. | |
|
Undocks the control. | |
|
This is the overview for the MethodAddress method overload. | |
|
Returns the name of a class method by address. | |
|
Dispatches messages received from a mouse wheel. | |
|
Allocates memory for an instance of an object type and returns a pointer to that new instance. | |
|
Translate parent coordinates to client coordinates. | |
|
This is the overview for the Perform method overload. | |
|
Returns a reference to a specified interface if the object supports that interface. | |
|
Establishes or removes internal links that cause this component to be notified when the implementer of a specified interface is destroyed. | |
|
Repaints the control on the screen. | |
|
Removes a specified component specified from the component's Components list. | |
|
Disables destruction notification that was enabled by FreeNotification | |
|
Forces the control to repaint its image on the screen. | |
|
Docks the control in the place where another control is already docked. | |
|
Handles exceptions in methods declared using the safecall calling convention. | |
|
Handles exceptions in methods declared using the safecall calling convention. | |
|
Converts the screen coordinates of a specified point on the screen to client coordinates. | |
|
Puts a windowed control behind all other windowed controls, or puts a non-windowed control behind all other non-windowed controls. | |
| ||
|
Makes a control visible at design time. | |
|
Sets the parent for the control. | |
|
Identifies whether the component is a subcomponent. | |
|
Sets the text of the control. | |
|
Makes a control visible. | |
|
Returns a string containing the class name. | |
|
Returns a string containing the unit name. | |
|
Processes any pending paint messages immediately. | |
|
Updates the state of an action. | |
|
Specifies whether the control's alignment should be reversed right-to-left. | |
|
Specifies whether the control is using a right-to-left reading order. | |
|
Specifies whether the vertical scroll bar appears on the left side of the control. |
|
Name |
Description |
|
Designates the action associated with the control. | |
|
Specifies the bi-directional mode for the control. | |
|
Specifies the bounding rectangle of the control, expressed in the coordinate system of the parent control. | |
|
Specifies the height of the control's client area in pixels. | |
|
Specifies the screen coordinates (in pixels) of the top left corner of a control's client area. | |
|
Specifies the size (in pixels) of a control's client area. | |
|
Specifies the horizontal size of the control's client area in pixels. | |
|
Specifies the interface reference implemented by the component. | |
|
Indicates the number of components owned by the component. | |
|
Indicates the position of the component in its owner's Components property array. | |
|
Lists all components owned by the component. | |
|
Describes the current state of the component, indicating when a component needs to avoid certain actions. | |
|
Governs the behavior of the component. | |
|
Indicates the current state of a control at runtime. | |
|
Determines style characteristics of the control. | |
|
Contains information used by the Form designer. | |
|
Specifies how the control is docked relative to other controls docked in the same parent. | |
|
Specifies the explicit vertical size of the control in pixels. | |
|
Specifies the explicit horizontal pixel coordinate of the left edge of a component relative to its parent. | |
|
Specifies the explicit vertical pixel coordinate of the top edge of a component relative to its parent. | |
|
Specifies the explicit horizontal size of the control in pixels. | |
|
Indicates whether the control is floating. | |
|
Specifies the class of the temporary control that hosts the control when it is floating. | |
|
Specifies the control in which the control is docked. | |
|
Specifies the width of the control when it is docked horizontally. | |
|
Indicates the component that is responsible for streaming and freeing this component. | |
|
Indicates the parent of the control. | |
|
Specifies the height of the control when it is docked vertically. | |
|
Specifies the height of the control when it is floating. | |
|
Specifies the width of the control when it is floating. | |
|
Represents information used internally by components that support COM. |
|
Name |
Description |
|
Occurs when the user right-clicks the control or otherwise invokes the popup menu (such as using the keyboard). | |
|
Occurs when the user drops an object being dragged. | |
|
Occurs when the user drags an object over a control. | |
|
Occurs when the dragging of an object ends, either by docking the object or by canceling the dragging. | |
|
Occurs when the dragging of an object ends, either by dropping the object or by canceling the dragging. | |
|
Occurs when the user presses a mouse button with the mouse pointer over a control and the parent form is not active. | |
|
Occurs when the user presses a mouse button with the mouse pointer over a control. | |
|
Occurs when the user moves the mouse into a control. | |
|
Occurs when the user moves the mouse outside of a control. | |
|
Occurs when the user moves the mouse pointer while the mouse pointer is over a control. | |
|
Occurs when the user releases a mouse button that was pressed with the mouse pointer over a component. | |
|
Occurs when the user begins to drag a control with a DragKind of dkDock. | |
|
Occurs when the user begins to drag the control or an object it contains by left-clicking on the control and holding the mouse button down. |
|
Name |
Description |
|
This is StyleChanged, a member of class TShape. |
|
Name |
Description |
|
Determines how the control aligns within its container (parent control). | |
|
Indicates whether a control should be constrained by margins. | |
|
Specifies how the control is anchored to its parent. | |
|
Specifies the color and pattern used for filling the shape control. | |
|
Specifies the size constraints for the control. | |
|
Specifies the image used to represent the mouse pointer when it passes into the region covered by the control. | |
|
Custom hint for control. | |
|
Indicates the image used to represent the mouse pointer when the control is being dragged. | |
|
Specifies whether the control is being dragged normally or for docking. | |
|
Determines how the control initiates drag-and-drop or drag-and-dock operations. | |
|
Controls whether the control responds to mouse, keyboard, and timer events. | |
|
Specifies the vertical size of the control in pixels. | |
|
Numeric ID for control's context-sensitive help topic | |
|
Keyword for control's context-sensitive help topic | |
|
Indicates whether the control's context sensitive help topic is identified by context ID or by keyword. | |
|
Contains the text string that can appear when the user moves the mouse over the control. | |
|
Specifies the horizontal coordinate of the left edge of a component relative to its parent. | |
|
Specifies the margins for the control. | |
|
Specifies the name of the component as referenced in code. | |
|
Determines where a control looks for its custom hint. | |
|
Determines where a control looks to find out if its Help Hint should be shown. | |
|
Specifies the pen used to outline the shape control. | |
|
Specifies the shape of the control. | |
|
Determines whether the control displays a Help Hint when the mouse pointer rests momentarily on the control. | |
|
Stores an integer value as part of a component. | |
|
Specifies the Y coordinate of the top left corner of a control, relative to its parent or containing control in pixels. | |
|
Determines whether the component appears onscreen. | |
|
Specifies the horizontal size of the control or form in pixels. |
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|