RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TMenuItem.Bitmap Property

Designates a bitmap that is drawn for the menu item.

Pascal
property Bitmap: TBitmap;
C++
__property TBitmap Bitmap;

Use Bitmap to provide a custom image that appears next to the caption in the menu item. On owner-draw menus, Bitmap can be used from an OnDrawItem event handler to represent the entire menu item or a portion of the menu item.

Note: If the ImageIndex property is set and the parent menu has a non-nil (Delphi) or NULL (C++) Images property, the image identified by ImageIndex is used instead of Bitmap.
 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!