Use Imagelist

G

Guest

I might be approaching this the wrong way but thought I could use an
imagelist to populate a number of buttons with icons. I have the imagelist
ActiveX on the form but cannot work out how to put the image from the
imagelist on the button. I have tried searching for an answer but either I
am asking the wrong question, or it cannot be done. I thought something like:
btnTest.Picture = ImageList1.images(3)
might work but no success. Can anyone help?
 
G

Guest

Checked it out Alex but it did not answer my question. If I have stored
icons, how do I display them on a button.
 
S

Steve

From the Help file:

btnShowLogo.Picture = "c:\Windows\Winlogo.bmp"

PC Datasheet
Providing Customers A Resource For Help With Access, Excel And Word
Applications
(e-mail address removed)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top