-
For tabs in the MDI window:
The tabbed view control (mditbb_1) supports a new property called NewTabAtRightMost which determines whether a new tab is opened from the left most location or the right most location (default) of the tab bar in the MDI window.
mditbb_1.NewTabAtRightMost=false
For more information, refer to the section called “Displaying sheets in tabbed view” in Application Techniques.
-
For tabs in the IDE window:
A new setting with the same name NewTabAtRightMost is supported in the PB.INI file. It determines whether a painter/editor is opened from the left most location or the right most location of the tab bar in the IDE.
[Tabbedbar] NewTabAtRightMost=0 //0: left most location. 1: default value, right most location.
For more information, refer to the section called “PB.INI settings” in Users Guide.
-
For both:
The indicator at the right end of the tab bar will show differently when the bar has not enough space to show the header of all of the opened windows.
The AutosizeHeight property determines whether the height of the tabbed bar automatically changes according to the font type or size of the title text. Default is true. When FALSE, the height is 104 PBUs by default in English version (and 103 PBUs in Japanese version).
mditbb_1.AutosizeHeight = false
The following functions are added to the Window control, to help developers identify whether an MDI window has the TabbedView and MaximizeAllTabbedSheets options enabled or not (these two options can only be enabled in the IDE currently):
-
IsTabbedViewEnabled -- Gets the state (enabled or disabled) of the TabbedView option of the MDI window. When True, it indicates the sheets will be displayed as tab pages.
-
IsMaximizeAllTabbedSheetsEnabled -- Gets the state (enabled or disabled) of the MaximizeAllTabbedSheets option of the MDI window. When True, it indicates the sheets will be displayed at the maximum size.