>HI,
>
>How can I create a Pageframe on a Form
>
>Beste regards
Well, while I would prefer the visual design in this case, the usual way to add an object to a form is with AddObject().
Here is a sample:
ThisForm.AddObject("PgfMain", "PageFrame")
ThisForm.PgfMain.PageCount = 5
ThisForm.PgfMain.Visible = .T.
You will also want to adjust some of the properties .Top, .Left, .Height and .Width for the PageFrame.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)