RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TMenu.IsOwnerDraw Method

Indicates whether menu items can contain more than simple captions.

Pascal
function IsOwnerDraw: Boolean;
C++
__fastcall Boolean IsOwnerDraw();

IsOwnerDraw returns true when the OwnerDraw property is true or the Images property is not nil (Delphi) or NULL (C++). This is used internally to determine how the menu should be painted. 

 

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