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 derfloh 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
Joined
Jan 24, 2002
Messages
26
Location
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
 
Try:

myform.mypageframe.pagecount = newcount

Jim
 
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
 
Thanks for the help!

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top