Page 1 of 1

TPreview does not show content in Windows 10 (TRichview 11)

Posted: Tue Nov 07, 2017 5:48 pm
by minh12
I used TPreview component in a C++ Builder RAD Studio 2007 project. It works just fine in Windows XP, 7, and Vista.
Recently I check the project in Windows 10. The same application does not show any content (just blank) in the TPreview.
Then I try on a Windows 10 laptop, it works fine.
Is it the TRichView11 is not compatible with Windows 10?

Re: TPreview does not show content in Windows 10 (TRichview 11)

Posted: Tue Nov 07, 2017 6:18 pm
by Sergey Tkachenko
TRichView is compatible with Win10, moreover, it is developed primarily on Windows 10.

Do you mean TRVPrintPreview component? Does the problem occur in our demo projects (such as ActionTest demos), or only in your application?

Re: TPreview does not show content in Windows 10 (TRichview 11)

Posted: Tue Nov 07, 2017 6:34 pm
by minh12
Sorry, the correct component is TRVPrintPreview.
Since the application is already developed, I just run it on Windows 10 desktop and laptop. I did not try the demos.
Please be aware that I'm using TRichView version 11, the source code is in 2009.

Re: TPreview does not show content in Windows 10 (TRichview 11)

Posted: Tue Nov 07, 2017 6:44 pm
by minh12
The ActionTest demos is fine on the Windows 10 desktop.
Do you think that I need to upgrade the TRichView to newer version?

Re: TPreview does not show content in Windows 10 (TRichview 11)

Posted: Tue Nov 07, 2017 7:09 pm
by Sergey Tkachenko
Oh, I overlooked that you use TRichView 11, which was released 9 years ago.
I cannot guarantee the correctness of this old version, and of course, I recommend to upgrade to the new version.
But honestly, I do not remember that we fixed something that preventing print preview working in Win 10.

Re: TPreview does not show content in Windows 10 (TRichview 11)

Posted: Tue Nov 07, 2017 9:38 pm
by minh12
Thanks! I'll try to upgrade.