Skip to content

pbStyleStretch - cCJStatusBarPane

Determines if the pane's width should be stretched

Type: Property
Access: Read/Write
Data Type: Boolean
Parameters: None

Syntax

Property Boolean pbStyleStretch
Access Type Syntax
Read Access: Get pbStyleStretch to BooleanVariable
Write Access: Set pbStyleStretch to BooleanVariable/Value

Description

pbStyleStretch determines if the pane's width should be stretched to fit the available space in the statusbar. If true, the pane will be stretched and it will not have a static width. When true, the pane's width can be only greater than or equal to its piWidth property.

Default is false

Multiple panes can be stretched and they will all share the space of the statusbar.

Object oStatusBar is a cCJStatusBar

    Object oStatusPane1 is a cCJStatusBarPane
        Set piId to sbpIDIdlePane
        Set pbStyleStretch to True
    End_Object

    Object oStatusPane2 is a cCJStatusBarPane
        Delegate Set phoViewPane to Self
        Set pbStyleStretch to True
    End_Object

End_Object