What Kind of Box is This???

R

Richardv2

I saw a program with a (listBox, comboBox, richTextBox, ???) box that
had different lines and colors.

Line 1 blue
Lines 2-5 red
Line 6 green, etc.
and graphic check-marks of different colors.
....with the standard gray adjustable column headings at the top.

Could someone point me to the box type and how to do this?
 
R

rowe_newsgroups

I saw a program with a (listBox, comboBox, richTextBox, ???) box that
had different lines and colors.

Line 1 blue
Lines 2-5 red
Line 6 green, etc.
and graphic check-marks of different colors.
...with the standard gray adjustable column headings at the top.

Could someone point me to the box type and how to do this?

Forgive me, but my mind can't make since of your description. Do you
have a screen shot of this app I could look at?

Thanks,

Seth Rowe
 
G

Guest

I saw a program with a (listBox, comboBox, richTextBox, ???) box that
had different lines and colors.

Line 1 blue
Lines 2-5 red
Line 6 green, etc.
and graphic check-marks of different colors.
...with the standard gray adjustable column headings at the top.


Could be a listbox or a datagrid or a datagridview (or custom/3rd party?).

Any screenshots?
 
H

Herfried K. Wagner [MVP]

Richardv2 said:
I saw a program with a (listBox, comboBox, richTextBox, ???) box that
had different lines and colors.

Line 1 blue
Lines 2-5 red
Line 6 green, etc.
and graphic check-marks of different colors.
...with the standard gray adjustable column headings at the top.

Could someone point me to the box type and how to do this?

Take a look at the ListView control.
 
J

Johnny Jörgensen

Now here's a novel idea: Why not try to mail the application manufacturer
and ask?

/Johnny J.
 
R

Richardv2

Take a look at the ListView control.

Yes, I saw how to change the background or put a bitmap in the
background, but not how to change the color of the printed characters
for each line.

I did find a rather long code listing that will send a string of any
color to the next line of a list box, so this seems to be what was
done.
 
R

Richardv2

Now here's a novel idea: Why not try to mail the application manufacturer

I did. I just thought that the developer might consider it propriatary
or secret and might not respond. I guess you are saying you don't know
how it is done either, but thank you for the tip.
 
H

Herfried K. Wagner [MVP]

Richardv2 said:
Yes, I saw how to change the background or put a bitmap in the
background, but not how to change the color of the printed characters
for each line.

Take a look at the type used to represent the items: 'ListViewItem' (and its
'ForeColor', 'BackColor', and 'UseItemStyleForSubItems' properties).
 

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

Similar Threads

SQL query help 3
Chart Bars 1
Some Very Interesting Quotes 5
Added items to listbox but display only newest items 3
Poetry, boring? 5
Template Styles 1
SumProduct or sumif 4
Recognize Color and Insert Symbol 6

Top