|
SmartMenuXP
Reference
Returns or sets a graphic to be displayed in a menu item.
Syntax
object.Picture(menuID) = LoadPicture(PathName)
object.Picture(menuID) [= picture]
The Caption property syntax has these parts:
| Part |
Description |
| object |
An object expression that evaluates to a SmartMenuList object. |
| menuID |
A numeric expression that evaluates to a menu item. |
| PathName |
A string expression specifying the path and filename of the
file containing a graphic |
| picture |
The Picture property of a Form object, PictureBox
control, or Image control. |
Remarks
Pictures are only displayed when the Style property has values smiNone
or smiPicture.
Set SmartMenuXP1.MenuItems.Caption(1)
= LoadPicture("MyPic.ico")
|