Sign in Join
FPDoc Onlineexperiment

TMenuItem.ImageIndex property

Member of TMenuItempublishedIn unit Menus

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

Declaration

pascal
property ImageIndex: TImageIndex read FImageIndex write SetImageIndex stored IsImageIndexStored default - 1;

Description

ImageIndex refers to the position in the images for the parent of the menu item. This can be the Images property in TMenu, or the SubMenuImages property in a parent menu item.

Use of Checked and an assigned image using ImageIndex are mutually exclusive on the Windows platform. At run-time, an image assigned using ImageIndex takes precedence and the check mark (radio button) is not drawn.

See also

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