![]() |
BackColor for odd and even rows |
Post Reply ![]() |
Author | |
RBCDATA ![]() Newbie ![]() ![]() Joined: 06 November 2005 Location: Denmark Status: Offline Points: 4 |
![]() ![]() ![]() ![]() ![]() Posted: 10 November 2005 at 4:23pm |
How can i set the BackColor for odd and even rows??? Im able to set the back color when i fill the report control but it gets mixed up if i sort the rows by clicking on a column header. I have tried to go through all the rows to "repaint" them but im unable to iterate the rows in the sorted order. I would also really like to set the back color of the focused cell only and not the rest of the selected row. Please help Kind regards René Bechmann |
|
![]() |
|
sserge ![]() Moderator Group ![]() Joined: 01 December 2004 Status: Offline Points: 1297 |
![]() ![]() ![]() ![]() ![]() |
Hi René,
Look into Report contol VB sample, event handler wndReportControl_BeforeDrawRow. See also VB sample menu -> Report Control -> Automatic Formating Sample.
Standard report functionality does not allow this. To do this you can implement your own focused/selected tracking. For more ideas see also VB sample menu -> Report Control -> Test -> Task List sample. -- WBR, Serge |
|
![]() |
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 |