Skip to content

ColorDialog

Xusinboy Bekchanov edited this page Nov 5, 2023 · 5 revisions

Table of Contents

Definition

Namespace:

ColorDialog - Represents a common dialog box that displays available colors along with controls that enable the user to define custom colors.

Properties

Name Description
BackColor
Caption
Center
Color
Colors
Designer
DesignMode Gets a value that indicates whether the Component is currently in design mode.
ExtraMargins Returns/sets the extra space between controls.
Handle Gets the window handle that the control is bound to.
Height Returns/sets the height of an object.
LayoutHandle
Left Returns/sets the distance between the internal left edge of an object and the left edge of its container.
Margins Returns/sets the space between controls.
Name Returns the name used in code to identify an object.
Parent
Style
Tag Stores any extra data needed for your program.
Top Returns/sets the distance between the internal top edge of an object and the top edge of its container.
Width Returns/sets the width of an object.

Methods

Name Description
ClassAncestor Returns ancestor class of control.
ClassName
Execute
FullTypeName Function to get any typename in the inheritance up hierarchy of the type of an instance (address: 'po') compatible with the built-in 'Object' ('baseIndex = 0' to get the typename of the instance) ('baseIndex = -1' to get the base.typename of the instance, or "" if not existing) ('baseIndex = -2' to get the base.base.typename of the instance, or "" if not existing)
GetBounds Gets the bounds of the control to the specified location and size.
GetTopLevel Determines if the control is a top-level control.
IsEmpty
ReadProperty
SetBounds Sets the bounds of the control to the specified location and size.
ToString Returns a string that represents the current object.
WriteProperty

Events

Name Description
Clone this wiki locally