in my project i use the Form_Resize function to relocate all the controls of my form. it works fine, but when i try to relocate an Image control, my toolbar dissapear. what is the problem? can i relocate the Image in other way? thanks in advance
Printable View
in my project i use the Form_Resize function to relocate all the controls of my form. it works fine, but when i try to relocate an Image control, my toolbar dissapear. what is the problem? can i relocate the Image in other way? thanks in advance
I don't know exactly but a guess would be that your toolbar is bound to the image list, when you do your resize event for some resaon it gets disconnected from the toolbar. So the toolbar is still there its just that the images in the buttons dissapear so it only seems that toolbar has disapeared.
I think if you don't relocate the image list the problem should go away.
By the way since the image list is invisible to the user what is the point of moving it on the form?
i was relocating another image and the toolbar dissapeared. don't know really what i changed but now it works. so thanks for the effort and remember, if something doesnt go well, just close VB and try again. :P