PageButton (filter, event)

A button that switches to the next or previous child of a TSplit. Its target is a TSplit, which may be specified by the For property; otherwise the target is the nearest TSplit ancestor of the PageButton itself.


For
(Symbol)
If given, names the target, which must be a TSplit.
Back
(Boolean, FALSE)
If true, the button advances backward among children of the TSplit, otherwise it advances forward.

Behavior
PageButton is like a Button, but before generating an event, it switches the children of a TSplit. However, if the TSplit is not Circular, and if the last (first) child is already being displayed, nothing happens and no event is generated.
Shape
The natural shape of its child (i.e., with no shrink or stretch), plus the border around the button.
Notes
If a PageButton is a descendant of the TSplit it controls, it will naturally vanish when activated, due to the nature of TSplits.
You may specify more than one PageButton for the same TSplit.
See Also
LinkButton, PageMButton, and TSplit