Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5    Statistic  

MenuItem.SetTag

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 )

Parameters

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)

Result

Returns OK or error.

Description

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


MenuItem.SetSubMenu   -   MenuItem.SetTitle

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins