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 8094461
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T20:48:21+00:00 2026-06-05T20:48:21+00:00

Is UIObject#setVisible(false) functionally different from Widget#removeFromParent ? Besides, Is DialogBox#hide just a wapper call

  • 0

Is UIObject#setVisible(false) functionally different from Widget#removeFromParent?

Besides, Is DialogBox#hide just a wapper call to UIObject#setVisible(false)?

Any practical examples?

  • 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-06-05T20:48:22+00:00Added an answer on June 5, 2026 at 8:48 pm

    UIObject#setVisible sets the CSS ‘display’ attribute on the element. If you have an HTMLPanel and call setVisible(false) on it, it will result in this

    < div style=”display:none”>My HTML Panel !< /div>

    Whereas removeFromParent will remove the element from the DOM of your page. Again, if you had an HTMLPanel attached to the body of your page and called removeFromParent() on it, you would go from

    < body>
        <div >My HTML Panel !</div>
    </body>
    

    to

    < body> < /body>
    

    So once you’ve remove a widget from it’s parent, you will have to reattach it if you want to display it again.

    As for your second question, I haven’t looked at the code for DialogBox#hide but I would say that it probably calls setVisible(false) at some point, among other things.

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

Sidebar

Related Questions

I have a UITableView that was created from data coming from a mutable array.
just one quick question about the select event of the jQuery UI Tabs $(
I've just discovered the fullCalendar jQuery plugin which does pretty much everything I need
At run-time, in objective-c, how to place a UIObject into a UIView ? Thank
I am reading from MSDN this: A child window has only one parent window,
i have an UI object VehicleUI which is inherited from Vehicle. It's the same,
We have an IBM UniData server. I just installed UniObject .net. It looks like
I want to use Coffeescript to create an UIObject class. This class should inherit
Is there any other UI object for selecting between variables that's not picker view?
In my case, I am needing to obtain some data from the network, process

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.