it seems like TRVAnimator.IsVisible sometimes returns False instead of True. Commented the IsVisible checking and no animation dissapearing.
Could you clarify how IsVisible works?
Animation restrictions?
-
- Site Admin
- Posts: 17569
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
IsVisible returns True if the animation is visible in TRichView window (at least partially) and should be redrawn. If you comment out this check, animation will be slower because the component will attempt to redraw all animations even if they are invisible (invisible because of scrolling).
Invisible animations must continue recalculating frame indices, but they will not be redrawn until they become visible.
Invisible animations must continue recalculating frame indices, but they will not be redrawn until they become visible.
Well, the meaning of that function is clear. But it seems like it isn't work correct. It returns False when animation is visible. Could it be caused because of items rearrangement?
While adding the animations i've set the limit to lets say 50k animations. All the animations at the beginning that don't fit to that limitation are replaced by text. Or maybe that is because of mixing text and animation with a several styles?
cannot understand the code of IsVisible
While adding the animations i've set the limit to lets say 50k animations. All the animations at the beginning that don't fit to that limitation are replaced by text. Or maybe that is because of mixing text and animation with a several styles?
cannot understand the code of IsVisible
-
- Site Admin
- Posts: 17569
- Joined: Sat Aug 27, 2005 10:28 am
- Contact: