[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Menus' (#lcl)

TMenu.Images

The image list with bitmaps used as glyphs for the menu items.

Declaration

Source position: menus.pp line 430

published property TMenu.Images : TCustomImageList
  read FImages
  write SetImages;

Description

Images is a TCustomImageList property which contains the bitmap images displayed as glyphs for the Items on the menu. Populate an image list and assign it to the property prior to setting the ImageIndex and GlyphShowMode for the individual TMenuItem instances on the menu. As an alternative, glyphs can assigned directly to the Bitmap property in each TMenuItem instance.

Setting a new value for the property causes the image change link and free notification to be removed and/or added as needed. The UpdateImages method in Items is called to validate the image(s) and to notify the widgetset class of change(s) to the property value(s).

See also

TMenuItem.Bitmap

  

Bitmap image (glyph) displayed for the menu item.

TMenuItem.ImageIndex

  

Ordinal position in the list of images for the glyph displayed on the menu item.

TMenuItem.GlyphShowMode

  

Indicates the display behavior for the glyph (or Bitmap) on the menu item.

TMenuItem.UpdateImages

  

Update the images for the menu item and its child items.

TCustomImageList

  

The base class for TImageList.


Version 4.0 Generated 2025-05-03 Home