Sign in Join
FPDoc Onlineexperiment

TMenuItem.Visible property

Member of TMenuItempublishedIn unit Menus

Indicates whether the menu item is visible ( True) or hidden ( False).

Declaration

pascal
property Visible: Boolean read FVisible write SetVisible stored IsVisibleStored default True;

Description

Visible is a Boolean property which determines whether the menu item is visible on its Menu or on a sub-menu for a Parent menu item. The default value for the property is True.

Changing the value for the property causes a Parent or MergedParent menu to redrawn at run-time, and the affected widget is notified of the change in visibility.

See also

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