Partager via


PageCount Property

Specifies the number of pages contained in a page frame. Available at design time and run time.

PageFrame.PageCount[ = nPages]

Return Value

  • nPages
    Specifies the number of pages contained in a page frame.

Remarks

Applies To: PageFrame Control

The minimum value for the PageCount property setting is 0, and the maximum value is 99.

Warning

If you decrease the PageCount property setting (for example, if you change the setting from 3 to 2), all pages that exceed the new setting and the objects they contain are lost.

See Also

Reference

ButtonCount Property

ControlCount Property

FormCount Property

Page Object

Other Resources

Properties (Visual FoxPro)