Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to create pageframe
Message
De
22/09/1998 06:59:25
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
22/09/1998 06:16:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00139400
Message ID:
00139407
Vues:
17
>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
select category
ThisForm.Pageframe1.pagecount = reccount()
scan
ThisForm.Pageframe1.pages(recno()).caption = category.description
endscanCetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform