Disabling right-click features on document panes

Aug 18, 2009 at 5:39 PM

My program always crashes if I attempt to close one of the document panes or right-click and select any of the options (i.e. Close, Close all but this, New horizontal tab group). Is there a way to disable the ability to attempt to move any document pane displayed and the right-click options?

 

Aug 21, 2009 at 10:32 PM

Hi Blazer,

Isn't it better to change your program to handle the close document correct?
If you disable such a function, the problem is still there.
What happens when you close the document by code?
It should crash too.

 

Aug 24, 2009 at 2:40 PM

Unfortunately, with this type of setup. I can not close any of the documents. They are a collection of hardware information.  They denote actual state of the hardware, so document 3 for example can not be closed at any point during the running of the application.

 

Aug 24, 2009 at 4:46 PM

And if you put your hardware information in static objects outside of the document and use your document only to show them?