PopupMenuButton & PopupMenuLabel

Hello

Is there a way to show an image on a menu button or label?. I do not want an image on the menu itself.

Thanks
Tom Obenschain

Is there a way to make an ImageFileClick show a PopupMenuButton or PopupMenuLabel?


Hi,


You can use an HTML image tag in the Caption property of the TIWPopupMenuLabel to display an image on the menu label.

Example:
  TIWPopupMenuLabel1.Caption := '<img src="http://www.tmssoftware.com/site/img/tmslogo.png">';

Unfortunately it's currently not supported to programmitcally open/close the menu of a TIWPopupMenuButton.
However, this is a good suggestion and we'll consider adding this functionality in a future version.