Invalid property value on Form.Create

General TRichView support forum. Please post your questions here
Post Reply
SiriusDG
Posts: 4
Joined: Mon Oct 31, 2005 5:41 am

Invalid property value on Form.Create

Post by SiriusDG »

Sergey -- Hi, I am upgrading an existing application. I currently have about 3 richview edits which all behave identically, just displaying different information. I wanted to convert another plain text memo field to richtext, so I copied an existing rve, deleted the memo, dropped in the copied rve, and changed the name. Then I copied and renamed the event handlers. This is the same process I used previously, with no problems. Now, when I run the application (compile and link are no problem) I get the following error on form create --

Error reading rveScreen.OnCurParaStyleChanged: Invalid property value

I also get the same error if I try to set a handler for Current Text Style Change. Everything else works fine, and all my other rve elements have these handlers without problem. I have checked and double checked, all properties appear to be set the same as all the other rve elements, and the event handlers have been recreated multiple times, it also does not matter what code is in the handler, I tried a simple showmessage just to see if I could make anything work. No difference.

Any help is greatly appreciated. Thanx.

Sincerely,
David
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Strange, never heard about errors like this.
Make sure that you do not have duplicate TRichView files (pas, dcu, bpl, dcp) in different directories.
Post Reply