Assign a icon to a PictureButton

new topic     » topic index » view thread      » older message » newer message

Hi all,

On a PictureButton on a normal window, not in a toolbar, I tried
  setIcon(PicB, "icon.ico")

but the icon doesn't show up.

I have even tried this
  hIcon = loadIconFromFile("icon.ico")  -- here hIcon != 0
  setIcon(PicB, {hIcon})

but still the icon is not shown.

How?

Thank you.

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu