Standard-Toolkit
Standard-Toolkit copied to clipboard
[Bug]: Ability to Hide Close (X) Button on a KryptonPage does not work while moving to a new docked position
Is your feature request related to a problem? Please describe. Not technical problem, but usability problem. I don't use us Krypton Docking because of not being able to hide the X button. I don't want users to be able to close docking windows because sometimes I would put related controls on another docking window that would disrupt the app from from running.
Describe the solution you'd like To be able to hide or disable the "X" button on all docking windows.
Describe alternatives you've considered none
Additional context
Also, just so you know. I can hide the close button at design time using Edit Flags. But, If I drag (dock) it in another window, the the X button reappears.
Here is a screen shot. Before dragging (docking) a window = NO "X" button After with the "X" button displayed again.
Hi @pixelinkmedia
Thanks for your feedback. Hiding the close button is already supported. To hide the close button, please toggle the CloseLogic
property to Hide
, these properties are located in the Button
property cluster.
Two things.
- I don't want to hide a docking window, neither do I want it closed at all
- The is no CloseLogic property. There is a "ButtonDisplayLogic" which doesn't have a Hide
Did you read my previous posts?
It hides at design time and when I run it. BUT when I drag a window at runtime into another window it then RE=APPEARS.
I can hide the button, but it doesn't stay hidden
Thanks
Hi @pixelinkmedia
Sorry, I meant the Close Display
property. You can set the Close Action
to None, to prevent pages being closed.
That is what I have
Hi @pixelinkmedia
Having a look at the help file, as I'm not that familiar with the docking library.
Here is a screen shot. Before dragging (docking) a window = NO "X" button After with the "X" button displayed again.
The red circled are is to do with the creation of a new Navigator area.. Just set the correct settings to not display the buttonSpecs in the "New navigator" when it is created for the new doc position