Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Change pageframe page count at runtime

Status
Not open for further replies.

FAC17

Programmer
Jan 24, 2002
26
US
Hi all - old dbase programmer here learning new tricks...

I want to change the number of pages in a pageframe at runtime. How would I do this?

Thanks in advance
 
For one more:
ThisForm.PageFrame1.PageCount = ;
ThisForm.PageFrame1.PageCount + 1

Then you'll probably want to change the caption on the page with code like:
xx = "PAGE"+alltrim(str(ThisForm.PageFrame1.PageCount))
ThisForm.PageFrame1.&xx..Caption = "New Page"

Rick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top