[SOLVED] The control added to an invisible container is not displayed even after container gets visible and focused

Answered Closed
0
0
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,
  • You must to post comments
Best Answer
0
0

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

  • You must to post comments
Showing 1 result