Vcl.Styles.TCustomStyle Methods
InheritedProtected
AfterConstruction | public | Responds after the last constructor has executed. |
ApplyThemeChange | public | Resets the application theme. |
BeforeDestruction | public | Responds before the first destructor executes. |
CheckDisposed | protected | This method is deprecated. |
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. |
ColorToRGB | public | Gets the color reference for a specified TColor. |
ContentRect (deprecated) | public | Gets the background rectangle of the content area of the element. |
Create | public | |
DefaultHandler | public | Provides the interface for a method that processes message records. |
Destroy | public | |
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. |
DoColorToRGB | protected | |
DoDrawEdge | protected | |
DoDrawElement | protected | |
DoDrawIcon | protected | |
DoDrawParentBackground | protected | |
DoDrawText | protected | |
DoGetElementColor | protected | |
DoGetElementContentRect | protected | |
DoGetElementMargins | protected | |
DoGetElementRegion | protected | |
DoGetElementSize | protected | |
DoGetStyleColor | protected | |
DoGetStyleFontColor | protected | |
DoGetSystemColor | protected | |
DoGetTextExtent | protected | |
DoHasElementFixedPosition | protected | |
DoHasTransparentParts | protected | |
DoIsValidStyle | protected | |
DoOnThemeChange | protected | Triggers the OnThemeChange event. |
DrawEdge | public | Draws the edge or edges of the rectangle that contains the element in the current style. |
DrawElement | public | Draws the specified element. |
DrawIcon | public | Draws an icon over the given element. |
DrawParentBackground | public | Draws the background of the given user interface element's parent. |
DrawText | public | Draws text over an element, using the current style. |
Equals | public | Checks whether the current instance and the Obj parameter are equal. |
FieldAddress | public | Returns the address of a published object field. |
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. |
GetAvailable | protected | |
GetDisposed | protected | Getter for the Disposed property. |
GetElementColor | public | Determines the color of the element specified by Details . |
GetElementContentRect | public | Gets the background rectangle of the content area of the element. |
GetElementDetails | public | |
GetElementMargins | public | Determines the margins of the element in the current style. |
GetElementRegion | public | Determines the region of the element in the current style. |
GetElementSize | public | Determines the size for the specified part of a control. |
GetEnabled | protected | |
GetFlags | protected | |
GetHashCode | public | Returns an integer containing the hash code. |
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. |
GetName | protected | |
GetStyleColor | public | Returns the color defined in the style for the element specified by Color . |
GetStyleFontColor | public | Returns the font color for the element specified by Font . |
GetSystemColor | public | Returns the system color defined in the current style. |
GetTextExtent | public | Returns the rectangle that contains the given text, drawn in the current style. |
GetTheme | protected | |
GetThemeForDPI | protected | |
HasElementFixedPosition | public | |
HasTransparentParts | public | Determines whether the given element has transparent parts. |
InheritsFrom | public | Determines the relationship of two object types. |
InitInstance | public | Initializes a newly allocated object instance to all zeros and initializes the instance's virtual method table pointer. |
InstanceSize | public | Returns the size in bytes of each instance of the object type. |
InternalDrawText | protected | |
IsValidStyle | public | Checks whether the provided style is a valid style. |
LoadFromFile | public | Loads a style from the specified file. |
LoadFromStream | public | |
MethodAddress | public | Returns the address of a class method by name. |
MethodName | public | Returns the name of a class method by address. |
NewInstance | public | Allocates memory for an instance of an object type and returns a pointer to that new instance. |
PaintBorder | public | |
QualifiedClassName | public | Returns the qualified name of the class. |
SafeCallException | public | Handles exceptions in methods declared using the safecall calling convention. |
SaveToFile | public | Saves the current style settings to the specified file. |
SaveToStream | public | |
SourceLoaded | protected | |
ThemesAvailable (deprecated) | public | Specifies whether the current operation system supports themes (styles). |
ThemesEnabled (deprecated) | public | Specifies whether themes (styles) are enabled for this application. |
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. |
UnloadThemeData | protected | |
UnloadThemeDataForDPI | protected | |
UpdateThemes | public |