Trying to hide minimize and maximize buttons

Discussions about product bugs & problems!
Note: This is no replacement for the Official ETM Support!
Search

Post Reply
2 posts • Page 1 of 1
User avatar
fmulder
Posts: 330
Joined: Wed Feb 03, 2010 9:46 am

Trying to hide minimize and maximize buttons

Post by fmulder »

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

Code: Select all

  
  // Hide the minimize and the maximize buttons
  self.updatesEnabled = false;
  self.windowFlags = "WindowTitleHint|WindowSystemMenuHint|WindowCloseButtonHint";
  self.updatesEnabled = true;
Thanks

Share the fun
Frenk Mulder

LIGO
Posts: 27
Joined: Tue Aug 02, 2016 1:57 pm

Re: Trying to hide minimize and maximize buttons

Post by LIGO »

Hi Frenk,

Why do you need to stop the panel from being updated? windowFlags is working fine for me without any changes to updatesEnabled property and I think that is what causes the panel to blink.

Best Regards
Leonid Solovev

Post Reply
2 posts • Page 1 of 1