Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 535157
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T09:41:14+00:00 2026-05-13T09:41:14+00:00

I did the following code. I know it’s horribly written, but it’s only a

  • 0

I did the following code. I know it’s horribly written, but it’s only a box with two combo boxes and a textinput bellow being added to a VBox, whose id is “garage”. The problem, is that, however I do it, when I open the combo box the program slows down so much it’s unbearable to use it any longer. I’d like to know if you have any idea on what’s behind the ComboBox and the possible causes for this “slowing down” when I open the ComboBox… Perhaps the rendering or something? Anything to try or to look for will be we welcome thanks.

<mx:VBox width="100%" height="100%" id="garage" initialize="garage.addChild(User.instance.house.garage);" >
            <mx:Label text="Garagem" />
            <mx:Button label="Adicionar automóvel"
                click="var c:VBox = new VBox();
                var h:HBox = new HBox(); 
                var cb1:ComboBox = new ComboBox();
                cb1.dataProvider=new ArrayCollection(['Compacto','Familiar','Carrinha']);
                h.addChild(cb1);
                cb1 = new ComboBox();
                cb1.dataProvider=new ArrayCollection(['Compacto','Familiar','Carrinha']);
                h.addChild(cb1);
                c.addChild(h); c.addChild(new TextInput()); garage.addChild(c);"/>
</mx:VBox>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T09:41:14+00:00Added an answer on May 13, 2026 at 9:41 am

    As the comment to my question suggested, the problem is not the piece of code I shown. I didn’t really think it was, I just wanted to know what kind of things I should look up for. What happened is that I had a lot of screens with a lot of components piled on a ViewStack, and when I had that one more, and I opened the combo box (only when I open the combo box, didn’t figure out why), the application really slowed down. So I took some components from the view stack and handled them using the add and remove child methods, and now it’s speedy enough again.

    Would still like to know why just opening one combo box in one more component would slow down the app like that.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I did the following to upper case the first letter in each word but
If I had the following select, and did not know the value to use
Trying to follow a technique found at bzr and gitosis I did the following:
I did it by creating OLE object with Delphi in 2000/NT/XP as following: Voice
Did you ever had a bug in your code, you could not resolve? I
I had something like the following code in a project I recently worked on.
Hi i am using following code. NSString *quant = [NSString stringWithFormat:@%@,item.capacity]; NSString *metricUnit =
I want to know what <% =QDAB.Constants.SiteURL %> means in the following line of
Did you ever have to choose between WISA or LAMP at the beginning of
Did anyone of you ever find a way of getting the Microsoft Report Viewer

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.