RectControl
PictureButton
AcceptFocus | This property is for Mac only where focus is normally not active unless Full Keyboard access is on. Setting this to true activates focus support even if full keyboard access is not turned on in the system. |
AccessibilityLabel | Label used by the macOS accessibility manager for various of disability settings and devices. |
AutoWidth | This property is to support components such as the FlowLayout. If set to true then the FlowLayout may resize the button. |
Bold | Sets the text font to bold. |
ButtonType | Configures how the button should behave, normal, sticky, toggle. |
Caption | Sets or gets the text on the button. |
CaptionAlign | Sets the alignment of the text. |
CaptionDeltaX | Tweaks the position of the text in x direction. |
CaptionDeltaY | Tweaks the position of the text in y direction. |
CaptionPlacement | This property is to configure how the caption is placed. |
DBBackColor | Fills background with custom color when in double buffering mode. (MacOS X and Linux systems are always double buffered by the OS it self) |
DMIcon | Sets or gets icon for dark mode. |
DebugDataSize | Used for internal quality control of the plugin. |
DoubleBuffer | DoubleBuffers the drawing of the control on Windows systems. (MacOS X and Linux systems are always double buffered by the OS it self) |
Enabled (Inherited) | Determines if the control should be enabled when the owning window is opened. |
HasDBBackColor | If set to true then the color defined in the DBBackColor property will be used as background color when in double buffer mode. (MacOS X and Linux systems are always double buffered by the OS it self) |
HasMenu | This property is to let the button have a menu. |
Height (Inherited) | The height (in points) of the control. |
HideDropDownArrows | If set to true then Drop - down arrow indicators are hidden when in drop down mode. |
Icon | Sets icon for the button. |
IconAlign | Sets the alignment of the icon on the button. |
IconDeltaX | Tweaks the position of the icon in x direction. |
IconDeltaY | Tweaks the position of the icon in y direction. |
Italic | Sets the text font to italic. |
Left (Inherited) | The left side of the control in local coordinates (relative to the window) |
MacButtonType | Sets style of the button for MacOS X to other MacOS styles. Note the style on Windows and Linux will remain fixed since those systems don't have as many native button styles. |
MaxWidth | This property is to support components such as the FlowLayout. The property defines the maximum width the button may scale to. |
Menu | The root menu item of the control. To add menu items then you manipulate this menu item. |
MinWidth | This property is to support components such as the FlowLayout. The property defines the minimum width the button may scale to. |
MultiLinePlacement | If set to true then the multiple lines will have their own vertical space calculation, else the first line of the multiple lines will be vertically same as if it had been single line. |
Multiline | If set to true then the Caption property supports multiple lines. |
TextFont | Sets the text font |
TextSize | Sets the text font size. |
TextUnit | Sets the unit of the FontSize. |
ToolButton | If set to true then the button will not get focus on click on platforms where it normally would have gotten the focus when clicked. |
Top (Inherited) | The top of the control in local coordinates (relative to the window). |
Underline | Sets the text font to underlined. |
Value | If the button is in Toggle or Sticky mode then this property can read and write the state. |
Visible (Inherited) | Determines whether the control is visible when its owning window is opened. The default is True: the control is visible. |
Width (Inherited) | The width (in points) of the control. |
GetOptimalWidth | Returns optimal width of the control for the text and settings that have been assigned to it. |
ReloadEvents | Reloads events if having used AddHandler to subscribe events. |
SetFocus (Inherited) | If applicable, sets the focus to the DesktopUIControl. KeyDown events are directed to the control. |
Action | The PictureButton has been clicked. |
ConstructContextualMenu (Inherited) | This event is called when it is appropriate to display a contextual menu for the control. |
ContextualMenuItemSelected (Inherited) | Fires when a contextual menuitem selectedItem was selected but the MenuItemSelected event and the MenuHandler for the MenuItem did not handle the menu selection. |
DragEnter (Inherited) | Fires when the passed DragItem enters the RectControl. |
DragExit (Inherited) | Fires when the passed DragItem exits the RectControl. |
DragOver (Inherited) | Fires when the DragItem is over the RectControl. |
DropObject (Inherited) | The item represented by Obj has been dropped on the control. |
GotFocus | The button has gotten focus. |
KeyUp (Inherited) | Fires when the passed Key is released in the control that has the focus. |
LostFocus | The button has lost the focus. |
MenuAction | This event is fired when a menu item on the button has been clicked. |
MouseDown | The mouse button was pressed inside the PictureButtons region. |
MouseDrag | This event is fired when the mouse is dragged with the mouse button down on the control. |
MouseEnter | This event is fired when the mouse enters the controls region. |
MouseExit | This event is fired when the mouse exits the controls region. |
MouseMove | This event is fired when the mouse is moved over the controls region. |
MouseUp | This event is fired when the mouse button goes up. |
MouseWheel (Inherited) | The mouse wheel has been moved. |
Version = 8.0 |