DEFINE A WINDOW WITH TABS
Creates a Window Definition with a Tabbed layout
Description:
A Window definition creates a Windows Graphics User Interface (GUI) Window object. This is a system of interactive visual components used by computer programs to display information and allow interaction with users of the computer program
A "tabbed" Window is not a Window definition in its' own right, rather it is any type of Window that takes advantage of the TAB Control to display one or more "pages" within the Window that are represented by tabs. It is included in the Windows section of the help documentation as a quick reference to creating a Window with this type of Control
Each page defined as part of the TAB Control can contain a number of other Controls which are visible when the page is opened by clicking on it
The image below demonstrates a MAIN Window which is acting as a host for a TAB Control. This has a number of "pages" which are displayed below the MAIN Window TITLEBAR
Syntax:
DEFINE WINDOW <cParentWindowName>
[ ... Other Parent Window Properties (eg. ROW, COL etc) ... ]
WINDOWTYPE MAIN | STANDARD | CHILD
[ ... Other Parent Window Properties (eg. ONINIT etc) ... ]
DEFINE TAB
[ PARENT <nRow> ]
ROW <nRow>
COL <nCol>
WIDTH <nWidth>
HEIGHT <nHeight>
[ VALUE <nVirtualWidth> ]
[ FONTNAME <cFontName> ]
[ FONTSIZE <nFontSize> ]
[ FONTBOLD <lValue> ]
[ FONTITALIC <lValue> ]
[ FONTUNDERLINE <lValue> ]
[ FONTSTRIKEOUT <lValue> ]
[ TOOLTIP <cToolTipTxt> ]
[ BUTTONS <lValue> ]
[ FLAT <lValue> ]
[ HOTTRACK <lValue> ]
[ VERTICAL <lValue> ]
[ ON CHANGE <ProcName | bBlock> ]
[ TABSTOP <lValue> ]
[ MULTILINE <lValue> ]
[ TRANSPARENT <lValue> ]
DEFINE PAGE <cPageCaption>
[ IMAGE <cImageName> ]
[ ... PAGE Controls (eg. LABEL, BUTTON, EDITBOX, TREE, BROWSE etc) ... ]
END PAGE
[ ... Other PAGE and PAGE CONTROL Definitions ... ]
END TAB
[ ... Other PARENT Window Control Definitions (eg. LABEL) ... ]
END WINDOW // PARENT Window!
Valid For Use With:
This Control is available for use with all Window types
Notes:
Sample Code:
Sample code to view the definition of a MAIN Window that hosts a TAB Control can be found here