Difference between revisions of "Page"
From Lianjapedia
Yvonne.milne (Talk | contribs) |
Yvonne.milne (Talk | contribs) |
||
Line 1: | Line 1: | ||
Note: property, method and event names should be referred to in lowercase in case-sensitive scripting languages. | Note: property, method and event names should be referred to in lowercase in case-sensitive scripting languages. | ||
+ | |||
+ | ====Description==== | ||
+ | [[{{ns:file}}:page_pageframe.png|link={{filepath:page_pageframe.png}}|Page, Pageframe]] | ||
+ | |||
+ | A [[Pageframe]] is a container object that contains pages, which can contain controls. | ||
+ | |||
+ | The page frame defines global characteristics of the page: size and positioning, border style, which page is active, and so on. The page frame determines the location of the pages and how much of each page is visible. Pages are positioned at the top left corner of the page frame. If the page frame is moved, the pages move with the page frame. | ||
====Properties==== | ====Properties==== |
Revision as of 11:43, 29 March 2018
Note: property, method and event names should be referred to in lowercase in case-sensitive scripting languages.
Contents
Description
A Pageframe is a container object that contains pages, which can contain controls.
The page frame defines global characteristics of the page: size and positioning, border style, which page is active, and so on. The page frame determines the location of the pages and how much of each page is visible. Pages are positioned at the top left corner of the page frame. If the page frame is moved, the pages move with the page frame.
Properties
This class supports the Common Properties plus the following:
Property | Access (R/RW) | Value | Description |
---|---|---|---|
Caption | RW | Character | Header caption text |
Layout | RW | Numeric | Container layout: 1=horizontal, 2=vertical, 3=form |
Picture | RW | Character | Header image filename |
Methods
This class supports the Common Methods plus the following:
Method | Args | Description |
---|---|---|
AddObject | existing as Object | newobject as Character, class as Character | Add an existing object or a new object, in which case the object's class must also be specified |
RemoveObject | existing as Object | Remove the specified object |
Events
This class supports the Common Events plus the following:
Event | Args | Description |
---|