Hi,
we have the following nasty effect:
We want to display most of our documents in readonly mode. Unfortunately we first have to load the document to get the doc-id and afterwards set the mode to readonly. But when we set this flag, toolbars seem to disappear and reappear. As our documents are displayed in "zoom to fit" mode, the view is first enlarged (as more space is available after the toolbars disappeared) and then scaled down again when the toolbars reappear which causes a nasty flickering and of course some time until the document is finally displayed.
Is there any possibility to avoid this effect?
Thanks
Martin
Flickering when setting document in readonly mode
Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan
-
- User
- Posts: 29
- Joined: Thu May 29, 2008 9:06 am
-
- Site Admin
- Posts: 2353
- Joined: Thu Jun 30, 2005 4:11 pm
- Location: Canada
Re: Flickering when setting document in readonly mode
Hi, Martin.
I cannot reproduce this effect. Very strange...
Please check your code for processing of events(OnEvent routine) from our control...
The control sends event with PXCVA_OnPropertyChanged type each time when you have changed the "Documents[xx].ReadOnly" property(and for many other properties).
Can you send to us the your simple example for reproduce it?
Thanks.
I cannot reproduce this effect. Very strange...
Please check your code for processing of events(OnEvent routine) from our control...
The control sends event with PXCVA_OnPropertyChanged type each time when you have changed the "Documents[xx].ReadOnly" property(and for many other properties).
Can you send to us the your simple example for reproduce it?
Thanks.
Vasyl Yaremyn
Tracker Software Products
Project Developer
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Tracker Software Products
Project Developer
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
-
- User
- Posts: 29
- Joined: Thu May 29, 2008 9:06 am
Re: Flickering when setting document in readonly mode
Hi Vasyl,
you a wright! Sorry - by preparing a simple test-case to show the effect we found out that the effect we saw was not caused by the viewer but by another layout effect.
Thanks - and sorry again
Martin
you a wright! Sorry - by preparing a simple test-case to show the effect we found out that the effect we saw was not caused by the viewer but by another layout effect.
Thanks - and sorry again
Martin
-
- Site Admin
- Posts: 17960
- Joined: Mon Jan 12, 2009 8:07 am
- Location: London
Re: Flickering when setting document in readonly mode
Glad that the problem is located Martin
Cheers,
Stefan
Cheers,
Stefan