SoFunction
Updated on 2025-04-07

Flex hides the properties of the component

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"/>
  • Flex
  • Hide components

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-08
  • Method 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-02
  • Flex magnifying glass effect implementation code

    Flex magnifying glass effect implementation code
    2009-08-08
  • Flex loads Base64-encoded binary string pictures

    Flex loads Base64-encoded binary string image implementation code.
    2009-05-05
  • Flex Creates a List of plural lines of text content

    Good effect flex multi-line text
    2008-11-11
  • Flex method to read xml files

    A summary of various methods for reading xml files, you can choose according to your needs.
    2009-08-08
  • Flex 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-08
  • Flex 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 tried
    2009-02-02
  • Flex 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-06
  • Flex 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 server
    2009-07-07

Latest Comments