Dynamically Add Items (Custom Properties) to a TPopUp Delphi Menu
Friday June 19, 2009
RUN-TIME Dev. ::
When working with Menus or PopUp menus in Delphi applications, in most scenarios, you create the menu items at design-time. There may be situations when the items of the menu are not known at design time, but need to be added at run-time .
When working with Menus or PopUp menus in Delphi applications, in most scenarios, you create the menu items at design-time. There may be situations when the items of the menu are not known at design time, but need to be added at run-time .
Read the full article to learn how to menu items to a Menu (or Popup menu) at run-time, how to respond to the OnClick event. Plus: how to extend the TMenuItem to hold custom string property (be creating your own descendant of the menu item class).
Related:


Comments
Machine Embroidery Designs from http://www.bestmachineembroiderydesigns.blogspot.com: Animals etc. In our site. Quality embroidery designs, affiliate 4-h level program. With us interesting, new designs every week.