Menu

Commit [r267]  Maximize  Restore  History

* Changed to refer to TCustomImageList instead of TImageList in ICommandBarConfig.SetImages methods. This is to support other image list classes in sub classes.

* Made TPopupMenuWrapper constructor virtual.
* Changed to use code from UMenuHelper to create required menu items.
* Added new, do nothing, TPopupMenuWrapper.InitMenu for use in sub subclasses to initialise a popup menu.
* Moved menu preparation code from popup menu popup event handler to new virtual TPopupMenuWrapper.PrepareMenu method.

delphidabbler 2009-09-01

changed /trunk/Src/UCommandBars.pas
/trunk/Src/UCommandBars.pas Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.