Vcl.Menus.TMenuItem.IsLine
Delphi
function IsLine: Boolean;
C++
bool __fastcall IsLine();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Vcl.Menus.pas Vcl.Menus.hpp |
Vcl.Menus | TMenuItem |
Description
Indicates whether the menu item represents a separator bar.
Call IsLine to determine whether the menu item is a separator bar. IsLine checks the Caption of the menu item and returns true if the value of Caption is '-'. Menu items with this Caption appear as separator bars.