Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ThisForm.Refresh does not refresh Pageframe
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00005218
Message ID:
00005285
Vues:
30
>I do not have an answer, but I really want to know how you scan the number of pages in a pageframe. I have the following situation. A user has requested that the active page within a pageframe have a noticable backcolor. The inactive pages must be displayed in a dull color. Well, I thought using This.backcolor=RGB(xyz) in the Activate/Deactivate methods. It seems simple enough, but it is always not as simple as it seems. I left out one detail. I have pageframes three levels deep. Each with a minimal of three pages. Anyway I was wondering about your scan method and if U have had any similar requests. Steve.

Here's a part of the code I have in the Init() of my PageFrame object. This will give you an idea of scanning the pages.

* Font setup
LOCAL lnCompteur
FOR lnCompteur=1 TO This.PageCount
This.Pages(lnCompteur).FontSize=8
This.Pages(lnCompteur).FontName='MS Sans Serif'
NEXT

Also, for what you need, you are gonna have to do a cascade method to get all the pageframe levels you have.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform