[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Menus' (#lcl)

TPopupMenu.OnClose

OnClose - event handler for closing down the popup

Declaration

Source position: menus.pp line 417

published property TPopupMenu.OnClose: TNotifyEvent
  read FOnClose
  write FOnClose;

Description

You can delete menu items here. But if you delete the clicked menu item on OnClose the OnClick will not follow under Windows.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.