[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
True when a bitmap is configured and available for the menu item.
Source position: menus.pp line 265
public function TMenuItem.HasIcon: Boolean; virtual; |
True when a bitmap is configured and available for the menu item.
HasIcon is a Boolean function which indicates if a Bitmap is configured and available for the menu item. The menu item is configured to display a bitmap using the GlyphShowMode and ImageIndex properties, or by assigning a TBitmap value to the Bitmap property.
The return value is False for the following conditions:
|
Bitmap image (glyph) displayed for the menu item. |
|
|
Indicates the display behavior for the glyph (or Bitmap) on the menu item. |
|
|
Gets an image list with the available bitmaps for the menu item. |
|
|
Ordinal position in the list of images for the glyph displayed on the menu item. |
|
|
Gets the size for the icon (glyph) when used on the menu item. |
|
|
Updates the widgetset class with the values in HasIcon and Bitmap. |
|
|
Sets the default policy for showing or hiding glyph images in menus. |
Version 3.2 | Generated 2024-02-25 | Home |