>>Hi,
>>
>>I have a form with a pageframe and 4 pages: Page1, Page2, Page3, and Page4
>>
>>Sometimes (depending on the user setup) I want only pages Page2 and Page4 visible. So, the Page 1 and Page3 are hidden as if they do not exist.
>>
>>How do I do it in the INIT of the form?
>>
>>TIA
>
>
>oPgFrm = CREATEOBJECT("Pageframe")
>oPgFrm.PageCount =4
>oPgFrm.RemoveObject("Page3")
>
Thank you.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham