Login | Register   
RSS Feed
Download our iPhone app
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.

Tip of the Day
Language: Visual Basic
Expertise: Intermediate
Aug 7, 1997



Building the Right Environment to Support AI, Machine Learning and Deep Learning

A Workaround for Bound Image List Controls

When an image list is referenced by another object such as a toolbar, you can only add images to the image list. VB doesn't allow deletes or changes to the size of the images in the image list while the reference exists. Typically, the solution is to remove the references, edit the image list, and then reset the references again. However, this can become cumbersome when you might have 10 to 15 toolbar buttons referencing the image list. To avoid the reference problem, simply select the object referencing the image list and "cut" it from your form. Then you can freely edit the image list because VB doesn't think it's referenced by any control. Once you finish editing the image list, simply "paste" the other control back on your form. All references will be restored, including the reference to the changed image list.
Steve Dulzer
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date