How to customize tabs and panels

<< Click to Display Table of Contents >>

Navigation:  How To >

How to customize tabs and panels

Question: Can I remove the Viewer, Editor, Advanced and Output default tabs? I want to create my own tabs with customized groups with existing buttons in them.
I want to retain these changes in ocx so that those will be the same when I open it again.

This is possible.

1. Click Customize ribbon in the quick access toolbar:

clip0075

2. Deactivate the Tab visible option:

clip0076

3. Repeat this for all the tabs.

4. To add a new tab, click Add tab and you will see a new tab. You can change its name and add buttons from the left panel by selecting a button and clicking Add or double-clicking the button or dragging and dropping it to the panel:

clip0078

5. Click OK and you will see a toolbar like this:

clip0012

 

Question: How is it possible to remove command line window via xml?

It can be done via the command line:

Commandline

Off.

Xml example:

<?xml version="1.0" encoding="UTF-8"?>
<cadsofttools version="2.0">
   <!-- Hide tab set with open drawing -->
 <command text="commandline"/>
 <command text="off"/>
</cadsofttools>

 

See the HideToolbarsPanels.xml to learn more about handling toolbars and panels.

When you execute the following code from HideToolbarsPanels.xml:

<?xml version="1.0" encoding="UTF-8"?>
<cadsofttools version="2.0">
   <!-- Hide tab set with open drawing -->
 <command text="HideTabSet"/>
   <!-- Hide application system buttons -->
 <command text="HideSysButtons"/>
   <!-- Hide application statusbar -->
 <command text="HideStatusbar"/>
   <!-- Hide tab set with layouts -->
 <command text="HideLayoutPanel"/>
   <!-- Hide Interface -->
 <command text="HideInterface"/>
   <!-- Hide menu button -->
 <command text="HideMenuButton"/>
   <!-- Hide Ribbon -->
 <command text="HideRibbon"/><command text="on"/>
</cadsofttools>

The program will look like this:

clip0013

Go to CADEditorX