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
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only