Question
Set widget visible doesn't work properly
Hi,
I have a problem when I want to make a widget visible.
This code works :
myStructure test;
widget.setVisible(test.state); // test.state = bool
widget.invalidate();But this code doesn't work :
Container widget;
myStructure test;
switch (index)
{
case 0:
widget = myWidget1;
break;
...
}
widget.setVisible(test.state); // test.state = bool
widget.invalidate();Do you have any idea why the second code doesn't work ?
