4D v13.4SET MENU ITEM ICON |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v13.4
SET MENU ITEM ICON
SET MENU ITEM ICON
The SET MENU ITEM ICON command modifies the icon associated with the menu item designated by the menu and menuItem parameters. In menu, you can pass a menu reference (MenuRef) or a menu number. If you pass a menu reference, the command will apply to all the instances of the menu in all the processes. In this case, the process parameter is ignored if it is passed. If you pass a menu number, the command will take the corresponding menu in the main menu bar of the current process into account. If you want to designate another process, pass its number in the optional process parameter. In iconRef, you can pass the picture to be used as the icon. You can use a library picture or a picture reference.
Use of a picture located in the Resources folder of the database: SET MENU ITEM ICON($MenuRef;2;"File:English.lproj/spot.png") |
PROPERTIES
Product: 4D
INDEX HISTORY
Created: 4D v11 SQL SEE ALSO |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||