Vcl.Forms.TCustomForm.ObjectMenuItem
Delphi
property ObjectMenuItem: TMenuItem read FObjectMenuItem write SetObjectMenuItem stored IsForm;
C++
__property Vcl::Menus::TMenuItem* ObjectMenuItem = {read=FObjectMenuItem, write=SetObjectMenuItem, stored=IsForm};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | protected | Vcl.Forms.pas Vcl.Forms.hpp |
Vcl.Forms | TCustomForm |
Description
Represents an OLE object menu item that reacts to selections of OLE objects.
Use ObjectMenuItem to get or set a menu item that becomes enabled or disabled when an OLE object on the form is selected or unselected respectively.
The OLE object menu item can be used for standard OLE commands, such as Activate or Convert. (The implementations of these commands are provided by the OLE server.)