RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TMenuItem.IsLine Method

Indicates whether the menu item represents a separator bar.

Pascal
function IsLine: Boolean;
C++
__fastcall Boolean IsLine();

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. 

 

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