We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

HOW TO: Add images to image list and then those for toolbar buttons

Hi, I want to add immages to tool bar buttons. I'm not getting how to use the imagelist. Is it required to seperatly creat the imagelist usinf Imagelist.add method and then use it in to user program. Is there any simple way like resources in Win32 (.rc file)? Thanks, AN

1 Reply

CB Clay Burch Syncfusion Team June 14, 2002 12:37 PM UTC

Drag an ImageList onto your form. It will appear in the non-graphic control area. In its property grid, open up its Images property to bring up the collection editor where you can add images to the imagelist. Then in the propertygrid for your toolbar, set the toolbar ImageList property to the imagelist you have added. Finally, for each button, set the ImageIndex property.

Loader.
Live Chat Icon For mobile
Up arrow icon