Sign in Join
FPDoc Onlineexperiment

TMenu.Images property

Member of TMenupublishedIn unit Menus

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

Declaration

pascal
property 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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.