Search found 46 matches

by starhu
Wed May 14, 2014 12:18 pm
Forum: Support
Topic: How to hide page numbers on Pdf
Replies: 7
Views: 23303

Martin:
You are welcome!

It was clever, what you did, I'm going to use this code myself, too.

Regards,

Zsolt
by starhu
Tue May 13, 2014 5:34 pm
Forum: Support
Topic: How to hide page numbers on Pdf
Replies: 7
Views: 23303

Yagui:

This is the solution:


In unit gtScaleRichviewIntf
in method makepagemetafile change
ASRichViewEdit.DrawMetafile(PageNo, Result, True, True, False);
to
ASRichViewEdit.DrawMetafile(PageNo, Result,False, True, False);
by starhu
Mon May 12, 2014 11:42 am
Forum: Support
Topic: How to format the imported rtf?
Replies: 5
Views: 16804

The big problem is that MainForm.ActiveEditor.RichViewEdit.LoadRTF seems to delet the StyleTemplates of the document (before LoadRTF I can list them, after LoadRTF there is only the "Normal").

How can I avoid it?

Thank you very much!
by starhu
Sun May 11, 2014 4:09 pm
Forum: Support
Topic: How to format the imported rtf?
Replies: 5
Views: 16804

Hello,

Unfortunately it doesn't work for me. I sent an email with the details.

Thank you very much!
by starhu
Fri May 09, 2014 9:02 am
Forum: Support
Topic: LoadRTF deletes the header
Replies: 3
Views: 13172

Thank you for your help!
by starhu
Wed May 07, 2014 8:50 am
Forum: Support
Topic: LoadRTF deletes the header
Replies: 3
Views: 13172

LoadRTF deletes the header

Hello,

I use this:
SRichViewEdit1.RichViewEdit.LoadRTF( 'e:\MyRtf.rtf');

SRichViewEdit1.RichViewEdit.Format;

The big problem is that this deletes the whole header (picture and text all).

How can I avoid this?

Thank you very much!
by starhu
Mon Apr 28, 2014 9:35 am
Forum: Support
Topic: How to format the imported rtf?
Replies: 5
Views: 16804

How to format the imported rtf?

Hello, I need to implement the following scenario in ScaleRichViewEdit: 1.The user opens an rvf document 2.The document can contain many TextStyles, but one of them is called "BasicStyle" 3.The user chooses a RichText file to import 4. I need to import it in the ScaleRichView (SRichViewEdi...
by starhu
Tue Apr 15, 2014 7:31 am
Forum: Support
Topic: Save As dialog when using save
Replies: 2
Views: 10776

The form wasn't destroyed at close that caused the problem at second open.
by starhu
Mon Apr 14, 2014 7:41 am
Forum: Support
Topic: Save As dialog when using save
Replies: 2
Views: 10776

Save As dialog when using save

Hello, I have a form with a ScaleRichView on it. I load a file like this: FormScaleRichView.rvActionOpen1.LoadFile(FormScaleRichView.SRichViewEdit1.RichViewEdit, MyFileName, ffiRVF); FormScaleRichView.SRichViewEdit1.Format; The problem is that each time I press Ctrl+S to save, instead of saving to t...
by starhu
Fri Mar 21, 2014 9:19 am
Forum: Support
Topic: Import Word in a special way
Replies: 1
Views: 9120

Import Word in a special way

Hello, I need to accomplish the following: -The user chooses a Word files to import in ScaleRichView - During the import I should change the Font type and the font size (e.g. in the Word it was Times Roman 12, but in the ScaleRichView it should be Arial 10) - The paragraph alignment should be change...
by starhu
Mon Mar 17, 2014 9:55 am
Forum: Support
Topic: How can I print ScaleRichView from Fastreport?
Replies: 2
Views: 13934

How can I print ScaleRichView from Fastreport?

Hello,

I have RichView data in a blob field.

I need to load it into a TFrxRichView component of FastReport.

How can I do it? All I can see now is unreadable characters. I suppose I need to convert the blob data to RichView format...

Thank you
by starhu
Sun Mar 09, 2014 7:36 pm
Forum: Support
Topic: Icon change problem
Replies: 1
Views: 9007

Icon change problem

Hello, My customer created a new set of icons which I used in the ActionTest demo. I used jpg, png and bmp. The Undo and Redo buttons were completely grey when inactive with jpg and bmp. The png images were worse: they had black area around them. Can't the TToolButton show the images well, or is the...
by starhu
Sun Mar 09, 2014 6:32 pm
Forum: Support
Topic: Poor image in Pdf
Replies: 6
Views: 16948

Please, if you'll have time, have a look at it.

My customer keeps asking about it each day :(
by starhu
Thu Mar 06, 2014 11:19 am
Forum: Support
Topic: Is first save?
Replies: 4
Views: 14456

Thank you, it works now.
by starhu
Wed Mar 05, 2014 7:57 pm
Forum: Support
Topic: Is first save?
Replies: 4
Views: 14456

Hello,

Thank you, I tried it, but it never enters into OnDocumentFileChange event, no matter if I save, edit or close.