RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TStandardAddRemoveItem.DrawGlyph Method

Draws a symbol on the control.

Pascal
procedure DrawGlyph(const Location: TPoint); override;
C++
virtual __fastcall DrawGlyph(const TPoint Location);

DrawGlyph performs the same function as the method it inherits from, and it does call the inherited method. The override sets many of the draw parameters based on the present state of the menu and how it has been selected. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!