Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / VB.NET / April 2007

Tip: Looking for answers? Try searching our database.

What Kind of Box is This???

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Richardv2 - 16 Apr 2007 19:03 GMT
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?
rowe_newsgroups - 16 Apr 2007 19:43 GMT
> I saw a program with a (listBox, comboBox, richTextBox, ???) box that
> had different lines and colors.
[quoted text clipped - 6 lines]
>
> 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
Spam Catcher - 16 Apr 2007 20:42 GMT
"Richardv2" <richardv2@cox.net> wrote in news:1176746594.322526.5050
@q75g2000hsh.googlegroups.com:

> I saw a program with a (listBox, comboBox, richTextBox, ???) box that
> had different lines and colors.
[quoted text clipped - 4 lines]
> 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?
Herfried K. Wagner [MVP] - 16 Apr 2007 20:58 GMT
"Richardv2" <richardv2@cox.net> schrieb:
>I saw a program with a (listBox, comboBox, richTextBox, ???) box that
> had different lines and colors.
[quoted text clipped - 6 lines]
>
> Could someone point me to the box type and how to do this?

Take a look at the ListView control.

Signature

M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://dotnet.mvps.org/dotnet/faqs/>

Richardv2 - 17 Apr 2007 20:31 GMT
> 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.
Herfried K. Wagner [MVP] - 17 Apr 2007 21:29 GMT
"Richardv2" <richardv2@cox.net> schrieb:
>> 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.

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

Signature

M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://dotnet.mvps.org/dotnet/faqs/>

rowe_newsgroups - 19 Apr 2007 01:05 GMT
On Apr 17, 4:29 pm, "Herfried K. Wagner [MVP]" <hirf-spam-me-
h...@gmx.at> wrote:
> "Richardv2" <richar...@cox.net> schrieb:
>
[quoted text clipped - 11 lines]
> M V P  <URL:http://dotnet.mvps.org/>
>  V B   <URL:http://dotnet.mvps.org/dotnet/faqs/>

The OP sent a screenshot to my email - I have hosted it on imageshack
for him.

http://img339.imageshack.us/my.php?image=mwsnap0101yz6.gif

Thanks,

Seth Rowe
Spam Catcher - 19 Apr 2007 06:03 GMT
> On Apr 17, 4:29 pm, "Herfried K. Wagner [MVP]" <hirf-spam-me-
> h...@gmx.at> wrote:
[quoted text clipped - 19 lines]
>
> http://img339.imageshack.us/my.php?image=mwsnap0101yz6.gif

I think that's doable with the ListView...
Johnny Jörgensen - 17 Apr 2007 11:27 GMT
Now here's a novel idea: Why not try to mail the application manufacturer
and ask?

/Johnny J.

>I saw a program with a (listBox, comboBox, richTextBox, ???) box that
> had different lines and colors.
[quoted text clipped - 6 lines]
>
> Could someone point me to the box type and how to do this?
Richardv2 - 17 Apr 2007 20:38 GMT
> Now here's a novel idea: Why not try to mail the application manufacturer
> and ask?

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.
Ravichandran J.V. - 19 Apr 2007 06:16 GMT
In WPF, any control can act as a container control. Eg., a button can
host a movie, a checkbox etc. Have you checked if it is a .net 3.0 app?

with regards,

J.V.Ravichandran
- http://www.geocities.com/
 jvravichandran
- Or, just search on "J.V.Ravichandran"
 at http://www.Google.com

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.