Hi everyone,
I have three forms that inherits each other.
On the parent form I have an image list. I use this image list to show images on toolbar buttons. I placed such toolbar in the child form and another in the child of the child form.
If I open the forms in the designer, I see the images, but if I open the child of the child form in the program, I see the images only in the toolbar of its own, but not in the toolbar of its parent.
If I open the child form in the program, I see the images.
Summary:
Form1:
Image List (Owner)
Form2: (Inherits Form1)
Image List (Inherited)
ToolBar (Owner) - Images appear
Form3: (Inherits Form2)
Image List (Inherited)
ToolBar1 (Inherited) - Images disappear
ToolBar2 (Owner) - Images appear
I once saw that the images on ToolBar1 appear and those on ToolBar2 don't. Then I set the ImageList property on ToolBar2, and after that the images disappered from ToolBar1.
????????????????????
Thanks
I have three forms that inherits each other.
On the parent form I have an image list. I use this image list to show images on toolbar buttons. I placed such toolbar in the child form and another in the child of the child form.
If I open the forms in the designer, I see the images, but if I open the child of the child form in the program, I see the images only in the toolbar of its own, but not in the toolbar of its parent.
If I open the child form in the program, I see the images.
Summary:
Form1:
Image List (Owner)
Form2: (Inherits Form1)
Image List (Inherited)
ToolBar (Owner) - Images appear
Form3: (Inherits Form2)
Image List (Inherited)
ToolBar1 (Inherited) - Images disappear
ToolBar2 (Owner) - Images appear
I once saw that the images on ToolBar1 appear and those on ToolBar2 don't. Then I set the ImageList property on ToolBar2, and after that the images disappered from ToolBar1.
????????????????????
Thanks