If the appearance of page1 starting on the right and working its way to page6 from right to left is all that matters, then look at the name property of the page itself. Change the name of page6 to Page 1 and work your way through all of them. When the form is finished loading, put
thisform.pageframe1.activepage = 6
in the form's init and the physical page 6 will be the first page displayed, but the tab will display Page 1.
Then in the form's keypress event you will have to trap for page movement. For instance, you can trap for pageup and pagedown and set the activepage value appropriately to display the correct page. If you put code in the keypress event of the form though and you want it to take precedence over the keys pressed in the controls, then set keypreview to .t. on the form properties.
.·*´¨)
.·`TCH
(..·*
010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"