Posted 16 years ago by Miriam Kuruvilla
Version: 2.0.99
Once a layout has been created and saved, is there a way to allow the user to protect the layout?
i.e. Once it has been protected, no changes can be made to it - cant float/dock/add/remove/resize. The user will then need to "unprotect" it to make any changes.

Comments (1)

Posted 16 years ago by Actipro Software Support - Cleveland, OH, USA
There are a lot of Can??? methods on DockManager that control global defaults for tool capabilities. There are related instance overrides on ToolWindow. These are all described in the documentation. I believe you can protect against all the actions you mentioned except resizing.

Still it may be better to instead (or also) save a baseline layout that you are happy with and provide a way to restore back to that when needed. Like via a "Reset Window Layout" menu item.

Actipro Software Support

The latest build of this product (v24.1.0) was released 4 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.