Gets the display text of a menu item.
Takes userDefinedID (Int).
Returns the display text of a menu item identified by userDefinedID.
BGI GUI
Parameters & Returns
Parameters
userDefinedIDInt
Returns
String
Quick Summary
Gets the display text of a menu item.
Takes userDefinedID (Int).
Returns the display text of a menu item identified by userDefinedID.
Technical Exegesis...
Returns the display text of a menu item identified by userDefinedID. Searches menuMap for the item with matching userDefinedID and returns its text field (BBPTRSTR). Returns the stored text string if found, or an empty string ("") if the item is not found.
Use the same userDefinedID that was passed to bgiAppendSubMenuItem. The returned string is managed by the BambooBasic string system. Useful for querying menu item labels or saving menu configuration.
Returns the display text of a menu item identified by userDefinedID. Searches menuMap for the item with matching userDefinedID and returns its text field (BBPTRSTR). Returns the stored text string if found, or an empty string ("") if the item is not found.
Use the same userDefinedID that was passed to bgiAppendSubMenuItem. The returned string is managed by the BambooBasic string system. Useful for querying menu item labels or saving menu configuration. Returns the current text, including any changes made with bgiSetMenuItemText.