Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Subclass Page memberclass: Width/Height question
Message
De
23/04/2003 12:07:27
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00780566
Message ID:
00780654
Vues:
10
Wan,

I suspected this.

- PageFrame.AddObject/newObject are more simple to uses, and can uses init parameters, I think.

- it is the pageframe that it imposes the visible dimensions of the page, to know the PageHeight or PageWidth to Design time is impossible.
then, uses PageHeight and PageWidth on Page.Init event to redesign the pages at runtime;
best, add Resize methods to original Page class, and:
on Page.Init call this.Resize,
on PageFrame.Resize event call every Page
FOR EACH oPage IN this.Pages
oPage.Resize
ENDFOR

fabio
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform