Sign in Join
FPDoc Onlineexperiment

TMenuItem.AddSeparator procedure

Member of TMenuItempublicIn unit Menus

Adds a separator line to the child menu items.

Declaration

pascal
procedure AddSeparator

Description

AddSeparator is a method used to add a separator line to the child menu Items. AddSeparator creates a new TMenuItem instance, and sets its Caption to the value in the cLineCaption constant. The Add method is called to append the menu item to the Items property.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.