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 

Animating some graphics in a cell

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



Joined: 21 Feb 2008
Posts: 9

PostPosted: Thu Jan 08, 2009 10:17 am    Post subject: Animating some graphics in a cell Reply with quote

While processing some data I would like to show some sort of animiated graphics in a cell such as a rotating icon in the row that I am processing.

Could you suggest the best way of doing this?

Thanks
Back to top
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Thu Jan 08, 2009 10:34 pm    Post subject: Reply with quote

If you wanted to animate the row icon then you would need to create a custom RowWidget class (see the the help on custom widgets) and override the PaintIcon method to handle the painting each frame of the animation. Then you would need to set up a timer to call RowWidget.Invalidate() and RowWidget.Update() to force the RowWidget to be repainted at fixed intervals.
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
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