Vcl.StdActnMenus.TStandardMenuItem.DrawSeparator
Delphi
procedure DrawSeparator(const Offset: Integer); override;
C++
virtual void __fastcall DrawSeparator(const int Offset);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.StdActnMenus.pas Vcl.StdActnMenus.hpp |
Vcl.StdActnMenus | TStandardMenuItem |
Description
Draws a separator.
DrawSeparator is called automatically when the menu item represents a separator bar in the menu and it needs to paint itself. This method paints the separator bar.
Offset indicates the offset of the separator, in pixels, from the top of the menu item. DrawSeparator ignores this value and always uses a fixed value for menu items.