Picture property of the tab control

M

Michel Elie

I want to change the picture on the tab control when an
event occur on my form at run time.

I know that I can change the picture at run time if I
use the property
Me!TabCtlMaintenance.Pages(0).Picture = "Path and fileName"


But My problem is:
I want to use the list of pictures that come with the
picture builder of Access. So how can I make a change of
custom picture with code at run time. I just want to
choose another picture in the list with code at run time.
I don't want to choose them manually.

Thanks a lot in advance.
 

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