Show/Hide UI Components
The UI components can be shown or hidden as required. If the UI component is placed in a layout, the UI components may be automatically rearranged.
Property:
- Visible - The flag initially shows/hides the UI component at runtime.
Example:
Hide UI component dynamically - If the UI component is located in a layout, the UI components may be automatically rearranged within the layout.
button.setVisible(false);
Show UI component dynamically - If the UI component is located in a layout, the UI components may be rearranged within the layout.
button.setVisible(true);
XDEV Software Corp. - One Embarcadero Center, San Francisco, CA 94111, US
Copyright © 2015. XDEV Software Corp. All rights reserved.