next up previous contents
Next: Drop a Menu Up: Retained Menu Definition Previous: Fetch Menu Button

Fetch Menu Button User Information Text

This Subroutine allows the User Information Text associated with a previously defined Menu Button on the currently setup Menu to be fetched (retrieved).

Short Name Calling Sequence

STATUS = UIFHUI(BUTTID,USTEXT[,USLENG])

Long Name Calling Sequence

STATUS = UI_FETCH_USER_INFO(...)

Input Arguments

BUTTID (Integer) Button ID

Output Arguments

USTEXT (Character) Button User Information Text USLENG (Integer) Length of User Text (Optional)

Function Value

UI__SUCCESS ) Success UISUCC )

UI__NOT_INITIALIZED ) Package not Initialized UININI )

UI__ILLEGAL_MENU ) Illegal Menu ID UIILME )

UI__ILLEGAL_BUTTON ) Illegal Button ID UIILBU )

UI__TRUNCATED ) Response Text Truncated UITRUN ) Note:

  1. This subroutine operates on the currently setup Menu as defined by a prior call to UI_DEFINE_MENU or UI_USE_MENU.
  2. The USTEXT Argument will be set to spaces if the specified Button does not exist on the currently setup Menu or the Button does not have any User Information text associated with it.
  3. The USLENG Argument is optional and, if present, will be set to the length of the Button User Information Text after any truncation.
  4. The UI__TRUNCATED and UI__ILLEGAL_BUTTON Function values are informational only, no error message will be signalled.


Liz Buckle
Fri Jan 13 17:39:04 CST 1995