473,323 Members | 1,547 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,323 software developers and data experts.

Image on tabControl?

Is there a way for me to use an image file (JPG, GIF, BMP etc) on my tabs
instead of text? I see that if you go to the "Icon" property (of a tabPage)
then you can add a ICO file, but because an icon is not very big I would
like to use a JPG file (or something similar) that would include the text in
the image file. Is there a way to do this?
Nov 16 '05 #1
1 15769
Set the ImageList property of the TabControl and the ImageIndex property of
each TabPage.

You can set the ImageSize and ColorDepth of the ImageList if required.

HTH

DalePres
MCAD, MCDBA, MCSE

"Keith Smith" <ke*********@verizon.net> wrote in message
news:I2g%d.3479$191.547@trnddc02...
Is there a way for me to use an image file (JPG, GIF, BMP etc) on my tabs
instead of text? I see that if you go to the "Icon" property (of a tabPage) then you can add a ICO file, but because an icon is not very big I would
like to use a JPG file (or something similar) that would include the text in the image file. Is there a way to do this?

Nov 16 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Ken Lee | last post by:
Hi all, I'm sort of very new to C# and haven't programmed in OO for a while. I'm trying to override the backgroundimage to the tabcontrol but it just doesn't seem to want to do it, can someone...
5
by: Tamir Khason | last post by:
How be able to manage more deeply UI of TabControl and TabPage For example - I want to manage border color, change color of TabPage reef, eliminate spaces from both sides of the reef, so I bould...
3
by: cdj | last post by:
Hi all, I've got a tabControl, initially with one tabPage, along with two buttons, one to add another tabPage, and one to delete the current (selected) tabPage. On each tabPage, when it is...
7
by: Sean | last post by:
Hi, I have a tab control containing few tab pages. On each tab pages, I put an image on the tab page's title bar (the area on top of a tab page, ie where tooltip will appear). If i put both...
5
by: Paul Tomlinson | last post by:
Tabpages and Imagelists - I want to align the image to the left so I can display some text... All, I have a number of tabpages and on each tab page I currently have an image and some text, now...
1
by: Raj Chudasama | last post by:
at work i am having to use a lot of images in our application. I am really a noob when it comes to using bitmap etc in my application. So here is the question we have a tabcontrol on which i...
7
by: moondaddy | last post by:
I'm painting images onto a windows form using this method: e.Graphics.DrawImageUnscaled(m_ItemImage, x, y) every time I select a product. However, some products don't have an image so when a...
0
by: matt | last post by:
I currently have a tabcontrol with 5 tabs. instead of putting text in the tabs i am using images. i created an image list and inserted the 5 images and used them to display instead of text. ...
1
by: Beppe | last post by:
Hi, I'm trying to make a TabControl transparent, but with no result. I must place it in a form with a background image. Does anyone know this problem?
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.