473,387 Members | 1,485 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,387 software developers and data experts.

Tabpages and Imagelists - I want to align the image to the left so I can display some text...

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 ATM the image is on-top of the text, I would like
to align the image to the left, is there an easy way that this can be done?
MA
Nov 17 '05 #1
5 3164
What you want is what you should have.
Is this a standard Tabcontrol you're using? VS2003?

--
Mick Doherty
http://dotnetrix.co.uk/nothing.html
"Paul Tomlinson" <ru************@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
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 ATM the image is on-top of the text, I would like
to align the image to the left, is there an easy way that this can be
done?
MA

Nov 17 '05 #2
Standard tab control w/ standard tab page.
VS2003.


"Mick Doherty" wrote
What you want is what you should have.
Is this a standard Tabcontrol you're using? VS2003?
"Paul Tomlinson" wrote
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 ATM the image is on-top of the text, I would
like to align the image to the left, is there an easy way that this can
be done?
MA

Nov 17 '05 #3
BTW i'm adding the tabpage, and imageindex dynamically.

"Paul Tomlinson" <ru************@hotmail.com> wrote in message
news:e0**************@TK2MSFTNGP09.phx.gbl...
Standard tab control w/ standard tab page.
VS2003.


"Mick Doherty" wrote
What you want is what you should have.
Is this a standard Tabcontrol you're using? VS2003?
"Paul Tomlinson" wrote
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 ATM the image is on-top of the text, I would
like to align the image to the left, is there an easy way that this can
be done?
MA


Nov 17 '05 #4
Sorry for not replying sooner.
It makes no difference if you add the tabpage and imageindex dynamically.

The default appearance for a Tab on a TabControl is to draw the image and
then draw the TabText. The Image and Text will be centered within the tab,
but the text will be to the right of the image.

[ I ] [ Text ]

There are no properties to change this style within a .net standard
tabcontrol.

I cannot reproduce the behaviour that you are experiencing.

--
Mick Doherty
http://dotnetrix.co.uk/nothing.html
"Paul Tomlinson" <ru************@hotmail.com> wrote in message
news:uZ**************@TK2MSFTNGP14.phx.gbl...
BTW i'm adding the tabpage, and imageindex dynamically.

"Paul Tomlinson" <ru************@hotmail.com> wrote in message
news:e0**************@TK2MSFTNGP09.phx.gbl...
Standard tab control w/ standard tab page.
VS2003.


"Mick Doherty" wrote
What you want is what you should have.
Is this a standard Tabcontrol you're using? VS2003?
"Paul Tomlinson" wrote
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 ATM the image is on-top of the text, I
would like to align the image to the left, is there an easy way that
this can be done?
MA



Nov 17 '05 #5
Sorry for not replying sooner.
It makes no difference if you add the tabpage and imageindex dynamically.

The default appearance for a Tab on a TabControl is to draw the image and
then draw the TabText. The Image and Text will be centered within the tab,
but the text will be to the right of the image.

[ I ] [ Text ]

There are no properties to change this style within a .net standard
tabcontrol.

I cannot reproduce the behaviour that you are experiencing.

--
Mick Doherty
http://dotnetrix.co.uk/nothing.html
"Paul Tomlinson" <ru************@hotmail.com> wrote in message
news:uZ**************@TK2MSFTNGP14.phx.gbl...
BTW i'm adding the tabpage, and imageindex dynamically.

"Paul Tomlinson" <ru************@hotmail.com> wrote in message
news:e0**************@TK2MSFTNGP09.phx.gbl...
Standard tab control w/ standard tab page.
VS2003.


"Mick Doherty" wrote
What you want is what you should have.
Is this a standard Tabcontrol you're using? VS2003?
"Paul Tomlinson" wrote
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 ATM the image is on-top of the text, I
would like to align the image to the left, is there an easy way that
this can be done?
MA



Nov 17 '05 #6

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

Similar topics

8
by: lawrence | last post by:
Under the domain publicpen.com I've several dozen sites in subdiretories, such as www.publicpen.com/honenbeger. I've no trouble with any of these sites. But under one, which I put in yesterday,...
2
by: Kay | last post by:
Hello, I have a asp lable control, which I use to display text in, I would like to have the text display aligned in the center and vertical alignment left however when I add the following style...
4
by: Samuel R. Neff | last post by:
I have a set of radio buttons in a win form that each have an image and text, like so: O O O O How can I set it up so that the image is left aligned, next to the radio button...
7
by: Richard | last post by:
I have a form with seven tapages. These span only one record with a large number of fields (textboxes). On Tabpage1 I display a number of read-only text boxes. This displays information about...
3
by: Sjef Janssen | last post by:
Is it possible to have a box (div) which sets a background-color and which contains (on the same line) text which is left aligned and text which is right aligned. (as in a table: two td's left one...
2
by: esteuart | last post by:
I need to get the right combination for a div to clip any text inside and allow vertical alignment. I only have this problem in FireFox. I have 3 divs nested within each other. The outer div has...
3
by: smitb | last post by:
Hi, I am a CSS/HTML novice. Can anyone please answer my question. I am trying to insert a small image(an arrow) within an <li> tag. My problem is that I cannot right align the image. Here is...
13
by: Stevo | last post by:
I've found that for IE6+, if you add the property text-align:center to a DIV, then *anything* inside it gets centered. That can be a table, an object/embed, another DIV, an image, or some text. ...
3
by: happyse27 | last post by:
Hi All, I wanted to align the text box for user registration but the code just wont budge... Kindly advise what is wrong? Cheers... Andrew <HTML>
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.