Saving and loading of controls

General TRichView support forum. Please post your questions here
Post Reply
jwinkl
Posts: 25
Joined: Thu Nov 09, 2006 10:09 am

Saving and loading of controls

Post by jwinkl »

Hi,
I have written a decsendant of TEdit with an additional field EditStyle. When I insert this control in TRichViewEdit and then save the document via SaveRVF, this field is not saved with the control and is not available when loaded via LoadRVF. Please tell me how to achieve this.
Thanks Johann
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: Saving and loading of controls

Post by Sergey Tkachenko »

Did you make this property published?
jwinkl
Posts: 25
Joined: Thu Nov 09, 2006 10:09 am

Re: Saving and loading of controls

Post by jwinkl »

Thanks - that was the mistake. I declared it only as a field, not a property.
Post Reply