Record & Item Capabilities |
Post Reply |
Author | |
mehran20
Newbie Joined: 10 September 2005 Location: Iran Status: Offline Points: 9 |
Post Options
Thanks(0)
Posted: 01 October 2005 at 4:40am |
Hi, I have just started working with CXTPReportControl and I was wondering if I can draw anything I want in a CXTPReportRecordItem driven object! For example,an icon bigger than 16*16? |
|
sserge
Moderator Group Joined: 01 December 2004 Status: Offline Points: 1297 |
Post Options
Thanks(0)
|
Mehran,
Yes you can. But in this case you should manually implement overrides of some more methods, i.e. which return a Row height, etc. -- WBR, Serge |
|
mehran20
Newbie Joined: 10 September 2005 Location: Iran Status: Offline Points: 9 |
Post Options
Thanks(0)
|
Well I wanted to keep this question going long before but this forum was closed for a week!! By this time I tried so much to work with CXTPReportRow but I failed and since I could find no practical example and there was nothing in the CHM reference file either, the only way left was to ask for it. Please take a look at my code below:
I put a break point in myReportRow::GetHeight method to see if it's called, but it didn't, not at all. More important it did not show any item in the Report Control!! It says, there's no Item to show!! Would you please tell me how can I make use of CXTReportRow objects?! Thanks, Mehran Ziadloo |
|
mehran20
Newbie Joined: 10 September 2005 Location: Iran Status: Offline Points: 9 |
Post Options
Thanks(0)
|
Sorry, since I tried so many different ways it seems I sent a wrong code. I had to define the myReportRow class like this:
|
|
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 |