Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to create pageframe
Message
De
22/09/1998 06:16:14
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
How to create pageframe
Divers
Thread ID:
00139400
Message ID:
00139400
Vues:
70
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform