Tab Interface Reference

Represents one panel in the TabControl. More...

Inheritance diagram for Tab:

Inheritance graph
Collaboration diagram for Tab:

Collaboration graph
List of all members.

Properties

LONG RW ImageIndex []
 The ImageIndex in the TabControl's ImageList.

Detailed Description

Represents one panel in the TabControl.

When the user changes current tab, the OnChange event occur.

See also the method CreateTab of the TabControl.

Examples:

o = new ActiveXObject("Scripting.WindowSystemObject")

o.EnableVisualStyles = true

f = o.CreateForm(0,0,0,0)

f.Text = "WSO"
f.ClientWidth = 200
f.ClientHeight = 100
f.CenterControl()

Tabs = f.CreateTabControl(0,0,0,0)
Tabs.Align = o.Translate("AL_CLIENT")
Tabs.CreateTab("Tab1")
Tabs.CreateTab("Tab2")
Tabs.CreateTab("Tab3")

f.Show()

o.Run()

Result:

TabControl.jpg


Property Documentation

LONG RW ImageIndex

The ImageIndex in the TabControl's ImageList.

Default -1.


WSO 1.1 Documentation. Date modified:Wed Aug 12 18:13:15 2015. (C) Veretennikov A. B. 2004-2015