images on tab pages

R

Robert Batt

Hello,
I have a tab control and I have inserted an image
list on it, each page has been assigned an image on the
image list. In design view these images are displayed,
together with text that I entered, however when I run the
images are not shown on the tabs. Do you know if I need to
set any special properties in order that they will show
when running the program.

Thanx in advance

Robert
 
J

Jeremy Cowles

I have a tab control and I have inserted an image
list on it, each page has been assigned an image on the
image list. In design view these images are displayed,
together with text that I entered, however when I run the
images are not shown on the tabs. Do you know if I need to
set any special properties in order that they will show
when running the program.

This is actually a question of WindowsForms, not VB, I would re-post here:

microsoft.public.dotnet.framework.windowsforms



~
Jeremy
 
M

Mick Doherty

Windows XP with Visual Styles? If so the Image will not show, this is a bug.
Otherwise you should have no problem, unless you've set the Tabcontrols
DrawMode to OwnerDrawFixed, in which case you'll have no Text either.
 
H

Herfried K. Wagner [MVP]

Hello,

Robert Batt said:
I have a tab control and I have inserted an image
list on it, each page has been assigned an image on the
image list. In design view these images are displayed,
together with text that I entered, however when I run the
images are not shown on the tabs. Do you know if I need to
set any special properties in order that they will show
when running the program.

Do you use an application manifest (for XP visual styles) with devenv.exe?

Regards,
Herfried K. Wagner
 

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