SelectedItem Property

Applies To

MultiPage control, TabStrip control.

Description

Returns the currently selected Tab or Page object.

Syntax

object.SelectedItem

The SelectedItem property syntax has these parts:

Part

Description

object

Required. A valid TabStrip or MultiPage.


Remarks

The SelectedItem property is read-only. Use SelectedItem to programmatically control the currently selected Tab or Page object. For example, you can use SelectedItem to assign values to properties of a Tab or Page object.

See Also

Caption property, Page object, Tab object.

Example

See the MultiPage control example.