|
Technical answers from the trenches |
|
Reordering Tabsheets in a PageControl
| ||||
Posted: 11 December 2003 |
||||
  |
Applies to: Delphi 4 and later |
|||
  |
Audience: Everyone |
|||
Question: How do I move (or reorder) tabsheet pages in a page control object?Answer: Change the tabsheet's PageIndex property to the position matching the new location, as shown in the following walkthrough:
As with other collection properties in Delphi, PageIndex is a zero-based value. To move your third tabsheet to the second page position, change PageIndex from 2 to 1. If you're doing this while designing your form, remember to select the tabsheet you wish to move before changing PageIndex. |
|||
|
||||||||
|
Copyright © 2000-2004, techtricks.com; All Rights Reserved. Acknowledgements, Disclaimers, Terms and Conditions. |
||||||||
|
Article last updated on 11 December 2003
|
||
|
|
||
|
[- End -]
|