Skip to content

psDescription - cCJAction

Gets and sets the description text for a menu or toolbar item that appears in the statusbar's idle pane

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

Syntax

Property String psDescription
Access Type Syntax
Read Access: Get psDescription to StringVariable
Write Access: Set psDescription to StringVariable/Value

Description

psDescription is used to set and get the description text, which is the text that appears in a statusbar's idle statusbar pane (see piID in the cCJStatusbarPane class). The text appears in the pane when the menu or toolbar item is "selected" (i.e., hover mouse over item or make the popup menu item the current item.)

Sample

Object oMyMenuItem is cCJMenuItem
    Set psCaption to "Select Me"
    Set psToolTip to "Select Me in tooltip"
    Set psDescription to "Select Me in idle statusbar pane"
    Set psImage to "SelectMe.ico"

    Procedure OnExecute
        Showln "Select Me was selected"
    End_Procedure   
End_Object

See Also

psTooltip | psCaption | psShortcut