Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - BackColor for odd and even rows
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

BackColor for odd and even rows

 Post Reply Post Reply
Author
Message
RBCDATA View Drop Down
Newbie
Newbie
Avatar

Joined: 06 November 2005
Location: Denmark
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote RBCDATA Quote  Post ReplyReply Direct Link To This Post Topic: BackColor for odd and even rows
    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
RBC Data

Back to Top
sserge View Drop Down
Moderator Group
Moderator Group


Joined: 01 December 2004
Status: Offline
Points: 1297
Post Options Post Options   Thanks (0) Thanks(0)   Quote sserge Quote  Post ReplyReply Direct Link To This Post Posted: 11 November 2005 at 8:55am
Hi René,

Look into Report contol VB sample, event handler wndReportControl_BeforeDrawRow.
See also VB sample menu -> Report Control -> Automatic Formating Sample.

Quote I would also really like to set the back color of the focused cell only and not the rest of the selected row.

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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.219 seconds.