Skip to content

The control added to an invisible container is not displayed even after container gets visible and focused #94

Closed

Description

@itg-assistant

SERKAN AKTÜRK asked 2016-06-08 16:35:19 UTC

Hi,

For the last few version updates I've noticed that adding control to an invisible container

adds the control to controls collection but the control is not displayed after container gets visible .

There was no such case on 1.2.1

Scenario:

Add a tabcontrol. Create 2 tabpages.

On a button click event

create 2 controls (button,label,widget,etc.) and add each to each tab page.

The control added to unselected tabpage will not be displayed even after that tab is selected and got focus.

Or

Add a flowlayoutpanel.

On a button click event

make the panel invisible (visible=false).

create a control (button,label,widget,etc.) and add it to the panel.

make the panel visible.

The control added will not be displayed.

On a button click event

make the panel visible (visible=true).

create a control (button,label,widget,etc.) and add it to the panel.

As expected the control added will be displayed.

For the invisible control making visible=false; then visible=true; just after adding the control makes it displayed.

Best regards,

Activity

  1. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    Frank (ITG) answered 2016-06-08 20:03:20 UTC

    Hi Serkan,

    thank you. This issue is logged as WJ-7326 and fixed in beta build 1.2.10 that has just been uploaded.

    Best regards
    Frank

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