Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - Persistent tree indent. Bug or feature?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Persistent tree indent. Bug or feature?

 Post Reply Post Reply
Author
Message
Blob View Drop Down
Newbie
Newbie


Joined: 22 September 2007
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote Blob Quote  Post ReplyReply Direct Link To This Post Topic: Persistent tree indent. Bug or feature?
    Posted: 22 September 2007 at 6:34am
Hi.

After adding child items, ReportRow has "+"-button for collapsing/expanding.
But after ReportControl.Records.DeleteAll() and adding new Records - indent to first item in each row have to indent such as row have a child items.
Can I reset this indent? Or this is a Bug?


P.S. Sorry for my English
Back to Top
Blob View Drop Down
Newbie
Newbie


Joined: 22 September 2007
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote Blob Quote  Post ReplyReply Direct Link To This Post Posted: 22 September 2007 at 7:45am
I understand!!!! 

ReportControl.Columns.DeleteAll() is not reset column property TreeColumn to default.

So! Bug or feature?
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: 23 September 2007 at 4:45pm
Hi,

Firstly please ensure you're calling .Populate after adding/deleting records. This is a primary source of such "bugs"...

--
WBR,
Serge
Back to Top
Blob View Drop Down
Newbie
Newbie


Joined: 22 September 2007
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote Blob Quote  Post ReplyReply Direct Link To This Post Posted: 24 September 2007 at 6:40am
Sorry. I'm to express oneself with ambiguity.
Records.DeleteAll() - work fine and properly.

Columns.DeleteAll() after deleting column and adding new - properties of new column is not restore to defaults (i.e. stay from deleted column) e.g. TreeColumn property.
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: 14 October 2007 at 5:14pm
Originally posted by Blob Blob wrote:

Columns.DeleteAll() after deleting column and adding new - properties of new column is not restore to defaults (i.e. stay from deleted column) e.g. TreeColumn property.


This looks to be a correct behavior. Note that you firstly delete a column. Of course its properties are also deleted as well.

--
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.156 seconds.