Hello,

Is it possible (and if so, how) to add an object (don't care what kind) to a
userform to which I can set the picture of a toolbar button FaceID? I've
developed a userform that allows me to scroll through all the icons available
and it sets the selected toolbar button's icon to the selected FaceID number
but I'd rather do it to a control or object on the form rather than directly
on the toolbar.

Many thanks!
Peter

RE: Toobar Button FaceID display on userform by Peter

Peter
Fri Feb 29 07:55:02 PST 2008

I just found I can add a toolbar and toolbar button to a userform by adding
the Microsoft Toolbar Control and the button has a property called image.
When I try to set the image to a number, I get an error message saying I must
first initialize the image list. Can someone help me figure out how to do
that?

Thanks,
Peter

"Peter" wrote:

> Hello,
>
> Is it possible (and if so, how) to add an object (don't care what kind) to a
> userform to which I can set the picture of a toolbar button FaceID? I've
> developed a userform that allows me to scroll through all the icons available
> and it sets the selected toolbar button's icon to the selected FaceID number
> but I'd rather do it to a control or object on the form rather than directly
> on the toolbar.
>
> Many thanks!
> Peter