PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

This content has been translated automatically. Click here to view the French version.
  • MDI Tab control
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Warning
From version 20 (57), We recommend that you use DynamicTab.
The Property TabMDI allows you to:
  • Find out the type of a Tab control (simple tab or dynamic tab - MDI).
  • Modify the type of a Tab control (simple tab or dynamic tab - MDI).
Reminder: A dynamic Tab control is a Tab control that supports the addition, the deletion and the move of panes.
Example
// Checks whether the tab is an MDI tab
IF ONG_Tab1.TabMDI = True THEN
// Close all the panes
TabCloseAll(TAB_Tab1)
END
Syntax

Finding out whether a Tab control is an MDI tab (dynamic) Hide the details

<Result> = <Tab control>.TabMDI
<Result>: Boolean
  • True if the Tab control is an MDI tab (dynamic),
  • False if the Tab control is a simple tab.
<Tab control>: Control name
Name of Tab control to use.

Modifying the type of a Tab control Hide the details

<Tab control>.TabMDI = <Type of Tab control>
<Tab control>: Control name
Name of Tab control to use.
<Type of Tab control>: Boolean
  • True in order for theTab control to be an MDI Tab control (dynamic),
  • False in order for theTab control to be a simple Tab control.
Remarks

MDI Tab control

If the Property TabMDI is to True:
  • the TabXXX functions can be called on the control.
  • the [] operator on the tab must called with the alias of the pane.
  • the end user can:
Minimum version required
  • Version 20
This page is also available for…
Comments
Click [Add] to post a comment