Move Method
Description
The Move method programmatically moves the tab within the TabControl. This allows the tabs to be reordered.
Syntax
Public Sub Move( _
ByVal [Index](#) As Long _
)
Parameters
- Index: New position of the tab within the collection of tab items.
Remarks
The Move method allows the tab to be reordered within the collection of tabs. The Index specifies the new location of the tab item.
Note: The collection of tabs is a zero (0) based index.
Example
The "After Move" picture is the result of the sample code below.
Before Move:

After Move:

TabControl.Item(1).Move(3)
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.