>>Do I understand correctly that this array is created when each page is added to the pageframe? And there is not way to change it later.
>>
>>That is, the following code:
>>
>>
>>thisform.pageframe1.pages(2).enabled = .F.
>>
>>
>>will disable the page that was added second to the pageframe, regardless of the PageOrder property. Right?
>
>Yes.
>And pageFrame's ActivePage is the PageOrder value of the active page,
>then, if you change the native PageOrder, you cannot use
>...page(..ActivePage) for get the page reference. Very sympathetic.
Thank you for confirming this. I also found that PageOrder in VFP 6 was not recognized whereas in VFP 9 it is. So, I think, this is a fix/enhancement of the VFP 9. I just have to be careful when using pages(i) property, if using it at all.
"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