Vcl.Menus.TMenu.IsOwnerDraw
Delphi
function IsOwnerDraw: Boolean;
C++
bool __fastcall IsOwnerDraw(void);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Vcl.Menus.pas Vcl.Menus.hpp |
Vcl.Menus | TMenu |
Description
Indicates whether menu items can contain more than simple captions.
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.