Menus.TMenuItem.RethinkLines

From RAD Studio VCL Reference
Jump to: navigation, search

Contents

Delphi Information

From Menus.pas

	function RethinkLines(): Boolean;


Unit: Menus

Type: method

Visibility: public

Member Of: TMenuItem

C++ Information

From Menus.hpp

	bool __fastcall RethinkLines(void);


Unit: Menus

Type: method

Visibility: public

Member Of: TMenuItem

Description

Removes superfluous separator lines from the Items property array.


Call RethinkLines to remove superfluous separators from the items in the Items property and in any submenu of those items. RethinkLines removes separators that appear at the very beginning or end of a submenu and separators that immediately follow another separator.

RethinkLines lets a menu remove superfluous separators when the AutoLineReduction property is false. For any menu or submenu that has AutoLineReduction set to true, this adjustment occurs automatically.

RethinkLines returns true if RethinkLines removed any menu items, false otherwise.

See Also

Personal tools
Translations
Newest Version