TabControl.Value Property

Access Developer Reference

Determines or specifies the selected Page object. Read/write Variant.

Syntax

expression.Value

expression   A variable that represents a TabControl object.

Remarks

The Value property of a tab control contains the index number of the current Page object. There is one Page object for each tab in a tab control. The first Page object always has an index number of 0, the second has an index number of 1, and so on.

The Value property returns or sets a control's default property, which is the property that is assumed when you don't explicitly specify a property name.

Bb242163.vs_note(en-us,office.12).gif  Note
The Value property is not the same as the DefaultValue property, which specifies the value that a property is assigned when a new record is created.

See Also