RaymondC
  • RaymondC
  • Advanced Member Topic Starter
2017-08-21T22:18:17Z
This is specific to Microsoft Access 2010.

I have a form with your ImageList control. I load the images I need. Then in VBA code, I want to set the .Picture property of a Button to one of the Index of the ImageList control. The .Picture property is expecting a file path but I was wondering if it was possible to use the ImageList control index instead.

Thanks.

Ray
RaymondC
  • RaymondC
  • Advanced Member Topic Starter
2017-08-21T22:43:16Z
From my online research, this doesn't seem to be possible in Access.

But I found another workaround that is quite a bit more convenient than my current method of stacked buttons with different images and toggling visibility. I create one hidden button on the form for each image I need. Then via VBA, I can set the .Picture property of one button to the .Picture property of another button.