Error with TFontInfo -> ModifiedProperties after update

General TRichView support forum. Please post your questions here
Post Reply
Michael
Posts: 3
Joined: Wed Oct 19, 2011 2:18 pm

Error with TFontInfo -> ModifiedProperties after update

Post by Michael »

Hello,

After updating the RichView package to version 13.4 I had a difficulty with the ModifiedProperties property (seemingly previously part of the TFontInfo class).
As mentioned in a previous post, this could simply be solved by Ignoring these messages, whereafter an automatic update was done of the components.
HOWEVER, I still have a problem when trying to read a RVF file that still contains the definition of this property (ModifiedProperties).

Is there any way to solve this as well?
Many clients of us have already made files containing this property...
Can an easy update be done in a manual way?

If you want, I can provide a small RVF file as an example. (I don't see a way to include it here...)

Thanks a lot![/img]
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

ModifiedProperties were separated in ModifiedProperties1 and ModifiedProperties2, because they now contain too many values for one property. But these properties are still reserved for future use and officially are not supported yet.

Do your RVF files contain important data in these properties?
Michael
Posts: 3
Joined: Wed Oct 19, 2011 2:18 pm

Post by Michael »

Hello Sergey,

Your quick response is appreciated!
I don't think the information in these properties is of that importance (I actually don't have a full pictures of what exact information is stored in these properties...), but we just want to get rid of the errormessages when reading such files that still includes a reference to this property.

We included RVF-templates in our application, and also the users of our application have the ability to save their own RVF-files, which may also include the ModifiedProperties property from previous savings.

Is there a way to remove the references from these files (we might do an update of the existing RVF-files of our clients, whereby we remove all the references to ModifiedProperties...), OR to make it possible (in one way or another) for the TRichViewEdit and TDBRichViewEdit components to "recognize" again this property (so that there is no longer a problem when reading such RVF-files)?

Thanks a lot in advance!
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Please send me a sample of RVF file with this property.
Michael
Posts: 3
Joined: Wed Oct 19, 2011 2:18 pm

SOLVED

Post by Michael »

Sergey wrote (through mail):
You can see exceptions only when you run your application in Delphi, otherwise, they are silent.

Dear Sergey,

You are very right!
The bugs do not appear when I run the application from outside my developers environment (Delphi/Builder).
Reading such an RVF-file only generates a bug when I’m starting the app. from Delphi/Builder.

Thanks a lot for you quick and good service!
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Yes, when reading an unknown style property, and exception occurs. But this exception is handled, and it can be noticed only when debugging.
Unknown properties are simply ignored.
Post Reply