StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Application Framework - V1
»
Enhancement Requests
»
Add BackColor/ForeColor properties to the ListView columns
Add BackColor/ForeColor properties to the ListView columns
Post Reply
Like
1
Add BackColor/ForeColor properties to the ListView columns
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Edhy Rijo
E
Edhy Rijo
posted 16 Years Ago
ANSWER
Topic Details
Share Topic
E
Group: StrataFrame Users
Posts: 2.4K,
Visits: 23K
I would be really nice to be able to change column colors for the listview.
Edhy Rijo
Reply
Like
1
Replies
Edhy Rijo
E
Edhy Rijo
posted 16 Years Ago
ANSWER
Post Details
Share Post
E
Group: StrataFrame Users
Posts: 2.4K,
Visits: 23K
Trent L. Taylor (06/05/2009)
... If you want to render the column, you will have to do an owner draw, which means you have to render all columns. It isn't that hard, but it will definitely be more work than just setting a property. This is something that will be in the future StrataListView control. Adding this logic to the existing ListView would require an entire Owner draw...thus using the new control would be more logical. Sorry
I am really in the need to add BackColor to a couple of columns in a several ListView, do have any sample or reference code that I may use as start point to try to get this done?
Edhy Rijo
Reply
Like
1
Trent Taylor
Trent Taylor
posted 16 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Developers
Posts: 6.6K,
Visits: 7K
There are a ton of them out on the web. Just search for ListView and OwnerDraw:
http://www.codeproject.com/KB/list/EXListView.aspx
http://www.experts-exchange.com/Programming/Languages/.NET/Q_20872868.html
This is just a function of the standard .NET ListView and handling that event. In the event you will be given the bounds, column and row information then you just render as you require. This does require some effort. This is also something that we do not intend to change on the existing ListView as it would require a lot of effort to make this a "global" resolution and our efforts would be better served on the new StrataListView control.
Reply
Like
1
Edhy Rijo
E
Edhy Rijo
posted 16 Years Ago
ANSWER
Post Details
Share Post
E
Group: StrataFrame Users
Posts: 2.4K,
Visits: 23K
Thanks.
Edhy Rijo
Reply
Like
1
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Threaded View
Threaded View
Add BackColor/ForeColor properties to the ListView columns
Edhy Rijo
-
16 Years Ago
Are you referring to the header or the area where the text is? If you...
Trent L. Taylor
-
16 Years Ago
[quote][b]Trent L. Taylor (06/04/2009)[/b][hr]Are you referring to the...
Edhy Rijo
-
16 Years Ago
Trent,
In case you missed my response above, could you...
Edhy Rijo
-
16 Years Ago
I was thinking the row, not the column. If you want to render the...
Trent L. Taylor
-
16 Years Ago
[quote][b]Trent L. Taylor (06/05/2009)[/b][hr]I was thinking the row,...
Edhy Rijo
-
16 Years Ago
In short, it exposes the entire ListView Item so you can set anything...
Trent L. Taylor
-
16 Years Ago
[quote][b]Trent L. Taylor (06/05/2009)[/b][hr]... If you want to...
Edhy Rijo
-
16 Years Ago
There are a ton of them out on the web. Just search for ListView and...
Trent L. Taylor
-
16 Years Ago
Thanks.
Edhy Rijo
-
16 Years Ago
Post Reply
Like
1
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search