>hi all
>I have a wierd one, this was working a while ago but is no longer and i have not changed any of the code. on a screen i have a button at the bottom "add" that is not in the pageframe. In the pageframe i have 7 tabs, with tab1 being active when the screen is first loaded. when a user clicks on the "add" button the code says thisform.pgf1.page2.active but this code does nothing, i put in a few wait windows and the code is passed through and run but this no longer activates the second tab. am i missing somthing?
>Slán
>~M
Mark, you should use the ActivePage property of the PageFrame, something like
with thisform.pageframe1
.ActivePage = Iif(.ActivePage = .PageCount, 1, .ActivePage + 1)
endwith
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?
"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare
"To die for a religion is easier than to live it absolutely"
Jorge L. Borges