Page 1 of 1

TDBSRichViewEdit onLoadDocument

Posted: Mon Jun 11, 2012 12:40 pm
by Frozen
Hello
I have table with RVF documents in it. In my application I navigate between rows of table and refresh documents in TDBSRichViewEdit. When margins for documents is not specified, component use margins from previous doc or default (if it's a first record to display). I want to set margins for default values when they are not specified. So I try set TDBSRichViewEdit(Sender).Clear in onNewDocuments event.

But this event is not fire, when I changed dataset record.

Posted: Tue Jun 12, 2012 5:47 am
by Sergey Tkachenko
OnNewDocument occurs before loading a document from the field.
If it does not happen, please create a simple project reproducing this problem, and send it to richviewgmail.com