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.
 
Top