Specifies whether the component is included in the layout of the parent container, if true, the object is included in its parent container’s layout. If false, the object is positioned by its parent container as per its layout rules, but it is ignored for the purpose of computing the position of the next child.
Note: no matter what value you set to the visible and includeInLayout, the component has already created; it is different with components in state, when the state has not been set, the components in the state have not been created, and therefore you cannot access them before changing to that state.
1) Set visible=false will hide the component, but the components’ position is already calculated , so you will see gaps or space representing that component, should not use this way.
2) Set Visible=false and includeInLayout=false will not only hide the component but also ignore the space occupied by component, so this is a right and good way to hide a component, similar to the hide tag in html.
3) Set Visible=true and includeInLayout=false will display the component on stage, but it will override or overlap the space occupied by another existed component, so you should not use this way.
分享到:
相关推荐
Usage of A4J.Usage of A4J.Usage of A4J.
Determining the required stack sizes for a software project is a crucial part of the development process. The developer aims to create a stable application, while not wasting resources. This ...
A Dictionary of Modern English Usage FowlersModernEnglishUsageFrontispiece.jpg The title page of A Dictionary of Modern English Usage (1926). Author H. W. Fowler Country United Kingdom Language ...
Analyzing business and technical requirements Using ODS Objects the right wayUsing way Modeling data flowsModeling flows BW InfoProviders with precalculated dataBW ...Efficient usage of BW MultiProviders
Configuration Examples for Displaying CPU Usage of the Device Using SNMP
This example demonstrates the usage of UCase and LCase.
A Complete Guide to Usage of ‘usermod’ command
Usage of cause and location in the Digital Subscriber Signalling System No. 1 and the Signalling System No. 7 ISDN User Part
Demonstrates usage of progress bar and list box controls. Its purpose is to get all the files from a specified folder while showing the progress completed.
ISO-TR 8550-3:2007 Guidance on the selection and usage of accept
ISO-TR 8550-2:2007 Guidance on the selection and usage of accept
ISO-TR 8550-1:2007 Guidance on the selection and usage of accept
1、Device Class Definition for Human Interface Devices (HID) 1.11 2、HID Point of Sale Usage Tables
ISO-TR 8550-1:2007 Guidance on the selection and usage of acceptance sampling systems for inspection of discrete items in lots - Part 1:Acceptance sampling - 完整英文版(43页).pdf
ISO-TR 8550-3:2007 Guidance on the selection and usage of acceptance sampling systems for inspection of discrete items in lots - Part 3:Sampling by variables - 完整英文版(45页).pdf
ISO-TR 8550-2:2007 Guidance on the selection and usage of acceptance sampling systems for inspection of discrete items in lots - Part 2:Sampling by attributes - 完整英文版(19页).pdf
网络化系留飞行平台在大型活动中的应用——以朝觐朝圣为例_On the Usage of Networked Tethered Flying Platforms for Massive Events -- Case Study Hajj Pilgrimage.pdf
在android中怎么使用资源.你可以看看这个学习andriod有很大的帮助!
有关软件通信架构(SCA)在波形设计时的内存使用的学术论文
With a detailed look at english grammar, style, diction, word formation, gender, social groups and scientific forms, this valuable reference work is ideal for students, writers, academicians and ...