Previous Topic

Next Topic

Inhoudsopgave

Book Index

pcMain.NewPage Function

Function Function pcMain.NewPage(Name: String, Caption: String) : Page control

Description

Creates a reference to a new page control of the Edit form. Use this function to add an extra tabsheet to the Edit form.

Parameters

Code Snippet

Rem Add an extra tabsheet with components

Set tsMyTabSheet = frmEditForm.pcMain.NewPage("extra","MyTabSheet")

Set grpbxCountry = IsahObjects.Get("TGroupBox")

With grpbxCountry

.Parent = tsMyTabSheet

.Name = "grpbxCountry"

.Left = 8

.Top = 8

.Width = 300

.Height = 68

.Caption = "Country"

.TabOrder = 0

End With