Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pages in a pageframe
Message
De
05/02/2001 15:52:41
Elyse Pomerantz
Dynamic Data Concepts, Inc.
Brooklyn, New York, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00472487
Message ID:
00472668
Vues:
24
>>Given the ActivePage in a Pageframe, how can I get the name of the page? I noticed that the PageOrder does not necessarily correspond to the index in Pageframe.Pages().
>>
>>Thanks,
>>Elyse
>
>
>WITH THISFORM.PageFrame1
>	lnPages = .PAGECOUNT
>	FOR lnPage = 1 TO lnPages && Get the right page ID (lnPage) as they may be moved around
>		IF .ACTIVEPAGE = .PAGES(lnPage).PAGEORDER
>			EXIT && lnPage is what we are looking for
>		ENDIF
>	ENDFOR
>	lcPagename = .PAGES(lnPage).NAME
>ENDWITH
>
I was hoping for something straightforward, but I guess this is the best we can do. Thanks!
Elyse Pomerantz
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform