appautorun MenuItem property
Return to Introduction  Previous page  Next page
Applies to
acAppAutoRun component.  

Declaration
property MenuItem: TComponent;  

Description
The MenuItem property can be used to associate the menu item of your application, which should reflect current state of AutoRun property. When user clicks that menu item, the state of AutoRun property will be changed accordingly.  
 
tip As you can see, not only standard MenuItems can be assigned to this property. You associate to it ANY component which has "Checked" or "Down" property (anything that can reflect the state of boolean value, i.e: non-standard menu item or "speed button").  

Snapshot
menuitemss <-----------  

See also
AutoRun property.