Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to create pageframe
Message
From
22/09/1998 06:16:14
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
How to create pageframe
Miscellaneous
Thread ID:
00139400
Message ID:
00139400
Views:
71
how to create pageframe that depends on the record
for example

I have category table and three records

I want to make the pageframe's page depends on this three record

for example

THISFORM.LockScreen = .T.
n = 0
CNTREC = 0
SELECT CATEGORY
GO TOP
DO WHIL !EOF()
CNTREC = CNTREC + 1
SKIP
ENDD

THISFORM.PAGEFRAME1.PAGECOUNT = CNTREC
FOR n = 1 to THISFORM.PAGEFRAME1.PAGECOUNT
THISFORM.PAGEFRAME1.Pages(n).Caption = CATEGORY.DESCRIPTION
ENDFOR
THISFORM.LockScreen = .F.

this coding can successfully displays three pages but the category description cannot display for the page's caption


thank for your help
Next
Reply
Map
View

Click here to load this message in the networking platform