Sign in Join
FPDoc Onlineexperiment

TMenuItem.RethinkLines function

Member of TMenuItempublicIn unit Menus

Performs actions needed to update the visibility of child menu separators and signal the OnChange event handler for the changes.

Declaration

pascal
function RethinkLines: Boolean

Function result

Returns True if the visibility of child menu item(s) was changed in the method.

Description

RethinkLines calls the InternalRethinkLines method to toggle the visibility of examine or update the visible child menu items. If any of the child Items was changed, the MenuChanged method is called to signal the OnChange event handler (when assigned) and rebuild (re-display) the submenu.

Added in LCL version 4.0.

See also

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