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...
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)
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...
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...
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;
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...
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...
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...
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 ...