title bar control buttons

Find and share HowTos to various installations / configurations!
4 posts • Page 1 of 1
tmalone
Posts:192
Joined: Mon Nov 22, 2010 11:21 pm

title bar control buttons

Post by tmalone »

We have a need to keep the close button on the title bar of popups, but we do not want the other action buttons.

[ui]
childTitleBar =1
showMaximizeButton = 0

These commands work great and I get the X to close the window, but I can't seem to find a parameter to disable the "iconize" or restore button?

I tried
showRestoreButton = 0 but that did nothing

Todd Malone
Trident Maritime Systems

gschijndel
Posts:376
Joined: Tue Jan 15, 2019 3:12 pm

Re: title bar control buttons

Post by gschijndel »

I think it is possible with the 'windowStyle' function, but all window flags can be set with the panel property 'windowFlags'

tmalone
Posts:192
Joined: Mon Nov 22, 2010 11:21 pm

Re: title bar control buttons

Post by tmalone »

The windowStyle function is limited to the window you are already in.

I am hoping for a more system level call. I don't see why the showMaximizeButton does not also remove the minimize buttons? You would think it would be like a pair. I also tried showMinimizeButton = 0 but that does not seem to do anything.

leoknipp
Posts:2928
Joined: Tue Aug 24, 2010 7:28 pm

Re: title bar control buttons

Post by leoknipp »

The option showMaximizeButton has only effect on the GEDI, as it is described in the documentation.
It cannot be used for Vision modules.

Best Regards
Leopold Knipp
Senior Support Specialist

4 posts • Page 1 of 1