next up previous contents
Next: Inquire Input Echo Up: Inquiry Subprograms Previous: Inquiry Subprograms

Inquire Button Text Style

This Subprogram allows the text style for the specified Button on the currently setup Menu to be determined.

Short Name Calling Sequence

STATUS = UIIQBS(BUTTID,STYLE)

Long Name Calling Sequence

STATUS = UI_INQUIRE_BUTTON_STYLE(...)

Input Arguments

BUTTID (Integer) Button ID

Output Arguments

STYLE (Integer) Text Style (See Notes)

Function Value

UI__SUCCESS ) Success UISUCC )

UI__NOT_INITIALIZED ) Package not Initialized UININI )

UI__ILLEGAL_MENU ) Illegal Menu UIILME )

UI__ILLEGAL_BUTTON ) Illegal Button UIILBU )

Note:

  1. The STYLE Output Argument can take the following values (or combinations thereof):-

    UISTYLENORMAL ) Normal UISNOR )

    UISTYLEBLINK ) Blinking UISBLI )

    UISTYLEBOLD ) Bold UISBOL )

    UISTYLEREVERSE ) Reverse Video UISREV )

    UISTYLEUNDERLINE ) Underlined UISUND )

    Where these parameters are defined in the UIPACK Parameter Include files (see Appendix B).

  2. The Style Argument STYLE will be set to UI_STYLE_NORMAL if UIPACK has not been initialised or the Menu or Button are not defined.


Liz Buckle
Fri Jan 13 17:30:40 CST 1995