PC Review


Reply
Thread Tools Rate Thread

ComboBox - Alternative coloured rows, like a datagrid

 
 
=?Utf-8?B?RGF2ZSBQcm91dGVu?=
Guest
Posts: n/a
 
      7th Mar 2005
Hi all,

Is it possible to have alternative coloured rows in a ComboBox?

If so please can some one point me in the right direction.

Thanks in advance


Dave
 
Reply With Quote
 
 
 
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      7th Mar 2005
"Dave Prouten" <(E-Mail Removed)> schrieb:
> Is it possible to have alternative coloured rows in a ComboBox?


This functionality is not included out of the box, but you can set the
combobox' 'DrawMode' property to 'OwnerDraw*' and draw the items yourself
(events 'DrawItem', 'MeasureItem').

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

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Alternative approach to datagrid for expanding collapsing rows Jahedx99 Microsoft C# .NET 1 25th Jan 2008 04:52 PM
Re: Coloured rows Don Guillett Microsoft Excel New Users 0 28th May 2005 05:09 PM
ComboBox in DataGrid Cell, bombs when changing rows with arrow keys Charlie@CBFC Microsoft Dot NET Framework Forms 2 11th May 2005 12:39 PM
Coloured cells in a datagrid Viyux Microsoft Dot NET Compact Framework 0 28th Dec 2004 02:46 PM
datagrid multi coloured rows Neil Rowe Microsoft VB .NET 2 20th Jan 2004 05:58 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:39 AM.