Toolbar ImageList

J

Jim P.

I added a ToolBar, and configuredit. Then added an ImageList, and added
images needed for the tool bar. But when I go back to the Button collection
from the ToolBar, the ImageIndex is empty. How do I access the images I
placed in my ImageList?
 
G

Goran Genter

Jim P. said:
I added a ToolBar, and configuredit. Then added an ImageList, and
added images needed for the tool bar. But when I go back to the
Button collection from the ToolBar, the ImageIndex is empty. How do
I access the images I placed in my ImageList?

Toolbar has ImageList property, and there add ImageList you created.
Then in button collection you can select proper ImageIndex.
 

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