Trying to hide minimize and maximize buttons
Posted: Mon Jan 28, 2019 7:55 pm
Hi everyone,
I'm trying to hide the minimize and maximize buttons in a child panel. I'm using the code below but the panel will always briefly blink.
Does anyone have an idea how to fix this.
The code itself works fine. I just want to get rid of the blink
Thanks
Share the fun
Frenk Mulder
I'm trying to hide the minimize and maximize buttons in a child panel. I'm using the code below but the panel will always briefly blink.
Does anyone have an idea how to fix this.
The code itself works fine. I just want to get rid of the blink
Code: Select all
// Hide the minimize and the maximize buttons
self.updatesEnabled = false;
self.windowFlags = "WindowTitleHint|WindowSystemMenuHint|WindowCloseButtonHint";
self.updatesEnabled = true;Share the fun
Frenk Mulder