[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Sets the value for the Visible property.
Source position: menus.pp line 247
protected procedure TMenuItem.SetVisible( |
AValue: Boolean |
); |
AValue |
|
New value for the Visible property. |
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.
|
Indicates whether the menu item is visible (True) or hidden (False). |
Version 3.2 | Generated 2024-02-25 | Home |