Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to get Active Page Label from Pageframe
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01031384
Message ID:
01031386
Vues:
26
This message has been marked as the solution to the initial question of the thread.
>I'm creating a report on the fly from a form that has a pageframe with 20+ pages. I have a print button at the bottom of the form, and I want to get the active pages caption/label to print on the report. Any clues without have to save it each time a page is clicked?
>
>Kirk

thisform.pageframe1.activepage will give you the page number of the active page, so,

thisform.pageframe1.pages(thisform.pageframe1.activepage).caption should give you what you want
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform