Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1   9.2    Statistic  


Sets the tag of the menu.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Menu 4.1 Yes Yes No No No
MBS( "MenuItem.SetTag"; item; value )   More


Parameter Description Example value
item The reference to the menu item. Please create one with MenuItem.CreateMenuItem or MenuItem.CreateSeparator. $item
value The new tag value. Get(RecordID)


Returns OK or error.


Sets the tag of the menu.
See also Menu.GetTag.
With the tag, we allow you to associate a text with the menu item, for example a record ID.

See also

Created 18th August 2014, last changed 31st August 2014

MenuItem.SetSubMenu   -   MenuItem.SetTitle

Feedback: Report problem or ask question.

MBS Xojo tutorial videos