How to change background color of row when settinF |
Post Reply |
Author | |
davidmcelroy
Newbie Joined: 27 January 2007 Location: United States Status: Offline Points: 16 |
Post Options
Thanks(0)
Posted: 27 January 2007 at 8:20pm |
I'm setting my Report Control to a specific row in my code using wndReportControl.FocusedRow = row; The background color is dark gray and i've tried using BeforeDrawRow without success. I can change the color when the user selects it but not until then. Is there a PaintManager setting that will do this?
Thank you in advance for your help.
|
|
sserge
Moderator Group Joined: 01 December 2004 Status: Offline Points: 1297 |
Post Options
Thanks(0)
|
Hi,
Yes, you can use:
-- WBR, Serge |
|
nighthawk
Senior Member Joined: 11 June 2004 Status: Offline Points: 167 |
Post Options
Thanks(0)
|
How do I restore the default value to those two properties? It used to be that if I set the HighlightBackColor and HighlightForeColor to -1, then the default color would be restored. In the latest version, -1 is interpreted as black. The only workaround I can come up with now is to store the initial value in a global variable and then use that to restore the default color.
|
|
sserge
Moderator Group Joined: 01 December 2004 Status: Offline Points: 1297 |
Post Options
Thanks(0)
|
Hi,
Yes, this was changed in the last version. You've chosen a correct workaround. -- WBR, Serge |
|
davidmcelroy
Newbie Joined: 27 January 2007 Location: United States Status: Offline Points: 16 |
Post Options
Thanks(0)
|
Thank you very much.
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |