Changing RowBackColor in Listview


Author
Message
Geoff Hirst
Geoff Hirst
StrataFrame User (219 reputation)StrataFrame User (219 reputation)StrataFrame User (219 reputation)StrataFrame User (219 reputation)StrataFrame User (219 reputation)StrataFrame User (219 reputation)StrataFrame User (219 reputation)StrataFrame User (219 reputation)StrataFrame User (219 reputation)
Group: Forum Members
Posts: 123, Visits: 3.5K
Chaps,

Customer has just thrown a curve ball at me. They have certain products that are easily to identify from the product ID, that they wish to see displayed in an alternate colour on browsedialogs.

The RowPopulating event looks like just the man for the job, and his sidekick RowBackColor would be excellent, except on Vista, the colour doesn't change.

I have checked the event and the condition is being checked correctly, and the assignment of e.rowbackcolor is occurring fine, it just doesn't display any differently on my machine.

I am using themes, does this make a difference? Is there an overriding setting anywhere that I need to switch on/off?

thanks in advance

Geoff.

Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
Geoff,

I just made a change that should resolve this problem for you.  I have posted this in the updates section.  Let me know if you have any problems.  Thanks.

http://forum.strataframe.net/FindPost12526.aspx 

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search