RAD Studio VCL Reference
|
Occurs on owner-draw menu items to determine menu item size before the menu is drawn.
property OnMeasureItem: TMenuMeasureItemEvent;
__property TMenuMeasureItemEvent OnMeasureItem;
Write an OnMeasureItem event handler to indicate the size of owner-draw menu items. If the menu item is using a bitmap image, the event handler can use the Bitmap property or the ImageIndex property to access the bitmap to determine its size.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|