Search found 34 matches

by PioPio
Mon Mar 28, 2016 11:05 pm
Forum: Support
Topic: Memory leak in TDBRichView
Replies: 5
Views: 19777

It turned out that if I set

Code: Select all

FNiftyDBRichViewEdit.UseXPThemes:=False;
then I have no warning memory leak notification messages from MadExcept.

Why is it ? Is there any way to keep UseXPThemes=True without having memory leaks ?

Many thanks
Alberto
by PioPio
Mon Mar 28, 2016 11:49 am
Forum: Support
Topic: Memory leak in TDBRichView
Replies: 5
Views: 19777

Memory leak in TDBRichView

Hello, I have the following code: unit Unit1; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, rvstyle, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, RVScroll, RichView, RVEdit, DBRV; type TForm1 = class(TForm) procedure FormActivate(Sender: TOb...
by PioPio
Sun Jul 05, 2015 5:11 pm
Forum: Support
Topic: Detecting right click in TDBRichViewEdit and TRichViewEdit
Replies: 1
Views: 9788

Detecting right click in TDBRichViewEdit and TRichViewEdit

Hello,

How can I detect when a user clicks the right button of the mouse in TDBRichViewEdit and TRichViewEdit?

Many thanks
Pio Pio
by PioPio
Fri Jan 09, 2015 10:30 am
Forum: Support
Topic: Mailmerge-freestyle Example
Replies: 3
Views: 12891

Sergey Tkachenko wrote:Remove rvprStyleProtect from the Protection of the field style.
(see TForm1.GetFieldStyleNo in TEMainFrm)
Thank you, Sergey,

I was thinking if there are any side effects in doing so.
by PioPio
Thu Jan 08, 2015 9:50 pm
Forum: Support
Topic: Mailmerge-freestyle Example
Replies: 3
Views: 12891

Mailmerge-freestyle Example

Hello Sergey, I have downloaded your example "mailmerge-freestyle" and added one button and a TActionManager. I assigned the following properties: object Button3: TButton Left = 547 Top = 10 Width = 75 Height = 25 Action = rvActionFontBold TabOrder = 2 end object ActionManager1: TActionMan...
by PioPio
Sat Nov 15, 2014 6:11 pm
Forum: Support
Topic: Compare if two TRichViews have identical content
Replies: 1
Views: 9422

Compare if two TRichViews have identical content

As per the subject: how can I check if two TRichview have identical content ?
I am not referring to the text only but all the information (font sizes and attributes, paragraphs, alignments and so on)

Many thanks
Pio Pio
by PioPio
Fri Aug 09, 2013 8:35 pm
Forum: Support
Topic: RVFontComboBox and RVFontSizeComboBox association not workin
Replies: 11
Views: 27369

But if all the components are in the same frame, you can assign links between them when designing the frame, and they will be retained when you use this frame, am I right? Hi Sergey, Yes, that was the initial idea. I tried the following code: type TRVEditFrame = class(TFrame) RVFontSizeComboBox1: T...
by PioPio
Thu Aug 08, 2013 10:28 pm
Forum: Support
Topic: RVFontComboBox and RVFontSizeComboBox association not workin
Replies: 11
Views: 27369

Hmm... If all the components on the same frame, why cannot you simply assign this property in the Object Inspector? I didn't think to the Loaded method. This did the trick :-) Referring to the question above. I could designate the property via Object Inspector but I was looking for something easy t...
by PioPio
Thu Aug 08, 2013 8:13 am
Forum: Support
Topic: RVFontComboBox and RVFontSizeComboBox association not workin
Replies: 11
Views: 27369

Where are these compobox placed? Are they on the same frame? yes they are. Here below an excerpt of the code TRVEditFrame = class(TFrame) ImageList: TImageList; Toolbar1: TToolBar; tbSave: TToolButton; .... RVFontSizeComboBox1: TRVFontSizeComboBox; RVFontComboBox1: TRVFontComboBox; end;
by PioPio
Thu Aug 08, 2013 7:56 am
Forum: Support
Topic: RVFontComboBox and RVFontSizeComboBox association not workin
Replies: 11
Views: 27369

Yes, now this line is called when FRVEditor is created. But it may be created before RVFontComboBox1 and/or RVFontSizeComboBox1, so they may be nil at this point. So I should move the RVFontComboBox1 and/or RVFontSizeComboBox1 assignments where they are not nil. Problem is I don't know where as the...
by PioPio
Wed Aug 07, 2013 7:38 pm
Forum: Support
Topic: RVFontComboBox and RVFontSizeComboBox association not workin
Replies: 11
Views: 27369

Are you sure, that at this line FRVEditor:=TCustomRichView(acomponent); acomponent is always TCustomRichView? This code is called for all components inserted at the frame. Hi Sergey, Just to make sure, I have amended the procedure this way: procedure TRVEditFrame.Notification(acomponent: TComponent...
by PioPio
Wed Aug 07, 2013 8:09 am
Forum: Support
Topic: RVFontComboBox and RVFontSizeComboBox association not workin
Replies: 11
Views: 27369

RVFontComboBox and RVFontSizeComboBox association not workin

Hello, I am developing a component acting as a frame and containing several functions buttons bold, italic, foreground colour, Font selection and relevant size etc. The idea is to drop this component in a form and then drop one of the TCustomRichView descendents. This way you can pilot all TCustomRi...
by PioPio
Sun Mar 03, 2013 12:34 pm
Forum: Examples, Demos
Topic: [Demo] Sending HTML email. Saving MIME-encoded files.
Replies: 40
Views: 3284785

Sergey Tkachenko wrote:Please run this demo and send a test email to richviewgmailcom
Message was sent.

Thanks and regards,


Pio Pio
by PioPio
Sun Mar 03, 2013 10:25 am
Forum: Examples, Demos
Topic: [Demo] Sending HTML email. Saving MIME-encoded files.
Replies: 40
Views: 3284785

All font attributes must be taken into account. Please send me step-by-step instructions how to reproduce the problem. Hello Sergey, I opened the example SendMail in the folder Indy and ran it. The email was sent successfully but the text is in Comic Sans MS in TRichViewEdit1 and in the email is a ...