Flex hides the properties of the component
Updated: June 26, 2009 12:08:28 Author:
In Flex, we sometimes need to hide components, but we need to not occupy the original position. You can refer to the following method.
Set visible property to false.
But there will still be problems doing this: the components still occupy their original location.
Also use the includeInLayout property to false to solve the placeholding.
<mx:Button label="btn1" visible="false" includeInLayout="false"/>
But there will still be problems doing this: the components still occupy their original location.
Also use the includeInLayout property to false to solve the placeholding.
<mx:Button label="btn1" visible="false" includeInLayout="false"/>
Related Articles
flex handwritten online signature implementation code
In enterprise information systems, handwritten signature function is sometimes required. Implement one here with flex. The function has been realized, and the effect is still improving.2009-08-08Method of reading local paths in combination with JavaScript
Given that adobe does not provide an interface for FileReference to the full path of browsing files. You can only use JS and fileinput controls to get the local path.2009-02-02Flex magnifying glass effect implementation code
Flex magnifying glass effect implementation code2009-08-08Flex loads Base64-encoded binary string pictures
Flex loads Base64-encoded binary string image implementation code.2009-05-05Flex Creates a List of plural lines of text content
Good effect flex multi-line text2008-11-11Flex method to read xml files
A summary of various methods for reading xml files, you can choose according to your needs.2009-08-08Flex include and import ActionScript code
To make your MXML code readable, you can refer to ActionScript code files in the <mx:Script> tag instead of inserting large chunks of code into <mx:Script>. There are two ways to refer to ActionScript: include and import.2009-08-08Flex Builder3 official version download address with registration code
adobe company issued the official version of Flex Builder3 Pro on February 25, which can be downloaded and tried2009-02-02Flex and .NET interoperability (eight) Use FluorineFx gateway to achieve remote access
I have written many examples about remote access in this series of articles. This article is not prepared to discuss in depth, in order to consolidate the learning and use of FluorineFx gateway.2009-06-06Flex text box input drop-down prompt
In many cases, we need to implement an input, display prompts and select functions from prompts. This is a disguised implementation based on ComboBox, dynamically obtaining it from the server2009-07-07