Enable/Disable UI Component
UI components can be enabled and disabled as needed. When disabled, the UI components are considerably brightened. In addition, no events can be registered and, thus, no button actions can be performed.
Property:
- Enabled - This flag enables/disables the UI component in the GUI Builder and initially at runtime.
Example:
Disable UI component dynamically
button.setEnabled(false);
Enable UI component dynamically
button.setEnabled(true);
XDEV Software Corp. - One Embarcadero Center, San Francisco, CA 94111, US
Copyright © 2015. XDEV Software Corp. All rights reserved.