TMenuItem.SetVisible procedure
Sets the value for the Visible property.
Declaration
procedure SetVisible(AValue: Boolean)Arguments
AValue | New value for the Visible property. |
Description
When the new property value is True, a valid Handle is
needed for both the menu item and its Parent (when assigned).
HandleNeeded is called to allocate a handle if it does not already
exist.
The widgetset class is notified of a change to the property value.
When the new property value is False, the Handle is freed by calling
the DestroyHandle method.
When MergedParent has been assigned, its
InvalidateMergedItems method is called to free the
MergedItems for the menu item.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
