Could someone please tell me how to hide the close button in the document manager or document.
Many thanks.
Hello Ian,
Depending of the document view style you can hide the Close button as follows:
if document view style is:
- MdiStandard; The type of Host property of the NUIDocument should be NMdiChild. In this case you should set CloseButton to false:
nDockManager1.DocumentStyle.DocumentViewStyle =
NUIDocument
NMdiChild
{
child.CloseButton =
}
- MdiTabbed; In this case you can set which buttons of the tabbed part to be visible by setting StripButtons property of the DocumentStyle:
nDockManager1.DocumentStyle.StripButtons =
Best Regards,Nevron Support Team