Skip to content

Tab control #181

Closed
Closed

Description

@itg-assistant

Dave asked 2016-07-26 11:51:29 UTC

How do we hide tab control tabs ? As in logical appearance in vwg.

Also I can't see open filedialog. Is there an alternative.

Thanks

Activity

  1. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    Luca answered 2016-07-26 19:34:01 UTC

    Tabs cannot be hidden, they can be removed or disabled. The Visible property (hidden) for the TabPage refers to the page being selected and the panel being visible. It's the same in Winforms and should be the same in VWG.

    I have to see if we can add either a new property or a method but I'm not sure about it since it's pretty standard behavior to remove and re-add a tab when hiding it or showing.

    Best,

    Luca

  2. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    Luca answered 2016-07-26 19:38:39 UTC

    Forgot about the filedialog. The FileDialog, FontDialog, ColorDialog, ColorPicker system dialogs are not implemented yet but will be there. We are first implementing a virtual file system capable of browsing:

    • Server file System (rooted)

    • Amazon S3

    • Google Drive

    • Microsoft OneDrive

    • Custom Implementation (database, for example)

    The FileDialog will support multiple customizable roots. You can show to your users a root folder on S3 and a root folder on OneDriver, for example. The Wisej.Core.IFileSystemProvider is public and anyone will be able to add more providers.

    Best,

    Luca

  3. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    Dave answered 2016-07-26 19:56:51 UTC

    Re - Tabs - Even if you remove all the tabs and leave one. You are still left with One tab header. Yes we can work with this but there are many times when we do not want to see the tab header.

    Looking forward to the other updates.

  4. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    Luca answered 2016-07-26 22:12:22 UTC

    Please send me a screenshot, I'd like to make sure I understand what the requirement is.

  5. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    Dave answered 2016-07-28 20:58:25 UTC

    Hi

    In VWG we had the logical appearance for tab control. This made the tab headers 'visible = false'

    This option is not available in wisej. So even when adding/removing tabs you will always have the tab header on show as in the screenshot.

    What would be good for me (from a purely selfish point of view !) is to add this option to wisej.

  6. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    Luca answered 2016-07-28 21:30:26 UTC

    It's a bug. When you remove a tabPage it should disappear. If you refresh the browser you'll see the correct view. I will send you a test app after this bug is fixed.

    I'd like to add a property to hide the TabPage instead of removing it. Maybe we can expose the Visible property and use that one.

  7. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    Frank (ITG) answered 2016-07-29 19:04:43 UTC

    Dave,

    this bug was logged as WJ-7461 and is fixed in the latest build (1.2.31).

    Best regards
    Frank

  8. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    Luca answered 2016-07-29 21:45:38 UTC

    Try the attached test app with the latest build. You may need to run the installer one more time since the enhancement is issue WJ-7462 and it's still open but the latest build has a new property TabPage.Hidden that does what you have asked. At design time it's only serialized. At runtime it hides the tab on the client only and causes the active tab to change keeping the hidden tab position and index.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    GeneralQuestions, how-tos and everything else.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions