Step 2 Define a Tab Folder Framework

VLF Windows Application Development

Step 2. Define a Tab Folder Framework

VFW010 – A Tab Folder Framework

1.  Right click on the Tab Folder (that is the background space next to the Page 1 tab) and use the Add Page menu option to add 5 pages.

     To add each page, you must first select the Tab Folder.

     You can also right click on any tab sheet's tab, to select the tab folder and Add Page.

     Your design should now look like the following:

2.  Click on the Tab sheet Page 1 tab and then click in the main area to select it, and change the following properties:

Property

Value

DockAllowedPosition

Left+Right

DockAllowUndock

True

DockCloseButton

True

DockPosition

Left

 

     Note: To see these properties, you must set up the editor to Show Advanced Features. See File / Options / General.

     Your tab folder should now look like the following:

     Hint: In the dropdown for DockAllowPositions, select the required values by using the Left Mouse button plus the Ctrl key.

3.  Change the properties of the other Tab sheets as follows:

Tab Sheet 2

Property

Value

DockAllowedPositions

Left+Right

DockAllowUndock

False

DockCloseButton

False

DockPosition

Left

 

Tab Sheet 3

Property

Value

DockAllowedPositions

Left+Top

DockAllowUndock

True

DockCloseButton

True

DockPosition

Center

 

Tab Sheet 4

Property

Value

DockAllowedPositions

Left+Bottom+Right

DockAllowUndock

True

DockCloseButton

True

DockPosition

Bottom

 

Tab Sheet 5

Property

Value

DockAllowedPositions

Left+Right+Bottom

DockAllowUndock

True

DockCloseButton

True

DockPosition

Bottom

 

     Your Tab folder should now look like the following:

4.  Save your form.