Infralution Support Forum Index Infralution Support
Support groups for Infralution products
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

first row index question

 
Post new topic   Reply to topic    Infralution Support Forum Index -> Virtual Tree Support
View previous topic :: View next topic  
Author Message
keesp
Guest





PostPosted: Mon Oct 10, 2005 7:42 am    Post subject: first row index question Reply with quote

Hi,

I have made an implementation where I use the first row index to last row index as reference for a paint action in a certain column. The result of this is, that a line is painted in this column from one row to another to show a certain link relationship. This works fine, but when the linked row reaches the top of the virtual tree, the paint action is shown over the column headers, as if the the top row is the row behind the column headers. Could this indeed be the case?
I have sent an image of this problem to support@infralution.com

Thanks

Kees
Back to top
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Mon Oct 10, 2005 10:21 pm    Post subject: Reply with quote

Thanks for the images. The problem is that you are using FirstRowIndex – which will always return 0 or 1 (ie the first row visible in the tree). I think you want to use TopRowIndex – which gives the index of the current row at the top of the tree.
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
keesp
Guest





PostPosted: Tue Oct 11, 2005 10:22 am    Post subject: you are very right Reply with quote

I have applied this and it works fine!
I thought that the toprow index was used for the first row in the tree regardless if this was visible or not.

Thanks

Kees
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Infralution Support Forum Index -> Virtual Tree Support All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group