Vcl.StdActnMenus.TStandardMenuItem.DrawGlyph

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure DrawGlyph(const Location: TPoint); override;

C++

virtual void __fastcall DrawGlyph(const System::Types::TPoint &Location);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.StdActnMenus.pas
Vcl.StdActnMenus.hpp
Vcl.StdActnMenus TStandardMenuItem

Description

Draws a symbol on the menu item.

DrawGlyph is called automatically when the menu item needs to render its glyph. This occurs if the menu item is checked or if the associated action client item specifies a glyph for this menu item using its ImageIndex property.

Location is the position on this menu item's canvas for the upper left corner of the glyph.

See Also