If you select the Functional Conversion option when converting a screen
from an earlier version of FoxPro, and then add a PageFrame control to the
converted form, you will see two pages and the PageCount property cannot be
modified.
Back to the top
When you convert a screen from an earlier version of FoxPro, the converter
dialog box appears asking if you would like to convert the screen via a
Functional Conversion or a Visual Conversion. The Functional Conversion
provides immediate FoxPro 2.x READ compatibility so you can use forms in
Visual FoxPro without making a lot of manual changes to the converted
screen. The Visual Conversion creates images of forms and all controls, but
it copies the code from the original FoxPro 2.x screen to a .prg file. If
you choose the Functional Conversion, the newly converted form will not
allow the PageCount property of a PageFrame control to be modified when a
PageFrame is added to the form.
Back to the top
To be able to modify the PageCount, you must set the Windowtype property to
Modal or Modeless.
Back to the top
This behavior is by design.
Back to the top