Foot note doubt

General TRichView support forum. Please post your questions here
Post Reply
alexandreq
Posts: 184
Joined: Wed Jan 18, 2012 6:22 pm

Foot note doubt

Post by alexandreq »

Hello,

I have a DBSRichViewEdit1 linked to a field from my table where I write my text, for a footnote must I have a DBSRichViewEdit1 or SRichViewEdit1?

thanks
Alex
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Both TSRichViewEdit and TDBSRichViewEdit allow editing footnotes directly in the main window, you do not need additional components.
alexandreq
Posts: 184
Joined: Wed Jan 18, 2012 6:22 pm

Post by alexandreq »

Ok, I understood that both work with FootNote.

But If I have my Editor with a DBSRich, should I have a footNote as a DBSRich too?

That is my doubt. Because in my application now I am Using a DBSRich for my editor and a RichView for FootNote and When I insert a footnote, a number is placed correctly in my DBSRich, and the table state changed to dsedit but the things that I write in my RichView (footnote) isn't recorded into my database.

For the example, I used your example note

Could you give me help how to record the changes into my table when I write in the footnote??


thanks
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Sorry, do you use TSRichViewEdit or TRichViewEdit?
TSRichViewEdit (from ScaleRichView) does not need need any external editor for footnotes.
alexandreq
Posts: 184
Joined: Wed Jan 18, 2012 6:22 pm

Post by alexandreq »

I use TDBSRichViewEdit.

Take a look at my code example what I did:

www.infosoftlanguages.com/arquivos/code01.zip

I supposed that I am working wrong with your component, I need your help.
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

I can see you use an old version of ScaleRichView.
May be so old that it does not support footnotes/endnotes, or at least does not allow editing them.
In the latest version of ScaleRichView, you do not need any code or external editor for footnotes: they are edited directly in TSRichViewEdit window.
I recommend to upgrade your version of ScaleRichView.
Post Reply