Desktop Control Hierarchy
From Xojo Documentation
|You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!|
The built-in controls have an inheritance hierarchy. The base class is called DesktopControl and it contains several common events, properties and methods. DesktopUIControl subclasses DesktopControl and adds additional events, properties and methods. Most desktop controls subclass DesktopUIControl, although a few have another subclass in between.
Below is a list of some of the common events, properties and methods that are available for UI controls.
Closing - Called when the control is closing because the layout upon which it rests is closing.
Opening - Called when the control is opening because the layout upon which it rests is opening. Use this to do any control initialization.
Name - The name of the control.
Scope - Set to Public or Private. Private controls cannot be accessed outside the Window.
Window - Identifies the parent window of the control.
Close - Call this method to remove the control from the window.
DesktopUIControl is a subclass of DesktopControl. Most controls that can appear on a Window are subclassed from DesktopUIControl. Refer to the Language Reference for details on all its events, properties and methods.