Click or drag to resize

TabControl.InsertTab Method

X#
Insert a new tab and tab page at a particular position in the tab control.

Namespace:  VO
Assembly:  VOGUIClasses (in VOGUIClasses.dll) Version: 2.19
Syntax
 VIRTUAL METHOD InsertTab(
	nPosition,
	symTabName,
	cCaption,
	xPage,
	nImage
) AS USUAL CLIPPER
Request Example View Source

Parameters

nPosition (Optional)
Type: Usual
The numeric position of the new tab.
symTabName (Optional)
Type: Usual
The symbolic name of the new tab.
cCaption (Optional)
Type: Usual
The caption of the new tab.
xPage (Optional)
Type: Usual
The modeless dialog window to act as the page for this tab or the symbolic name of the class to use for the tab.
nImage (Optional)
Type: Usual
The index of the image in the tab control's image list to display in the new tab.

Return Value

Type: Usual
TRUE if the tab was added successfully; otherwise FALSE.
See Also