Search found 9415 matches

by Sergey Tkachenko
Sat Feb 23, 2008 8:46 pm
Forum: Support
Topic: strnew replacement?
Replies: 9
Views: 25120

As for NewStr, it was deprecated already in Delphi2. Probably this function was useful in ancient times, when pascal had only fixed length strings.
by Sergey Tkachenko
Fri Feb 22, 2008 12:47 pm
Forum: Support
Topic: CSS - Font family
Replies: 6
Views: 14015

Info will be posted in the "Announcement" forum.
by Sergey Tkachenko
Fri Feb 22, 2008 7:09 am
Forum: ScaleRichView
Topic: when are updates due to be released?
Replies: 6
Views: 22798

Some new bugs were discovered and they must be fixed. We are working on this update, and it will be uploaded as soon as it will be possible.
by Sergey Tkachenko
Fri Feb 22, 2008 7:07 am
Forum: Support
Topic: ppRichView Millimeters
Replies: 9
Views: 19786

Ruler does not set page width. Ruler only changes margins.
by Sergey Tkachenko
Thu Feb 21, 2008 4:37 pm
Forum: ScaleRichView
Topic: more RVAction Hyperlink questions
Replies: 11
Views: 36399

You can look in RichViewActions.pas, TrvActionInsertHyperlink.EncodeTarget. You will see that 1) it deletes CR and LF characters from target; 2) if SpaceFiller property does not contain space character, it changes all spaces to SpaceFiller. (1) is absolutely necessary, otherwise this link cannot be ...
by Sergey Tkachenko
Thu Feb 21, 2008 3:44 pm
Forum: Support
Topic: LiveSpelling problem
Replies: 13
Views: 28414

Well, actually this cycle is not so dangerous, if think the possibility of error is almost zero.
But I will not add it in my version, you can leave it in yours.
by Sergey Tkachenko
Thu Feb 21, 2008 3:34 pm
Forum: Support
Topic: Possible table bug
Replies: 3
Views: 19909

If you do not want to copy row attributes, it's better to pass -1 in the last parameter.
by Sergey Tkachenko
Thu Feb 21, 2008 3:17 pm
Forum: Support
Topic: LiveSpelling problem
Replies: 13
Views: 28414

I am not sure...
But I am afraid that the second cycle may be dangerous, because the thread may finish after calling Terminate, and since FreeOnTerminate is True, it will be destroyed, possibly while executing this cycle.
by Sergey Tkachenko
Thu Feb 21, 2008 3:06 pm
Forum: Support
Topic: Possible table bug
Replies: 3
Views: 19909

InsertRows copies properties of cells the specified row (the last parameter) to the inserted cells. The new version, in addition to other cell properties, copies text and paragraph styles of cells (paragraph style of the first paragraph in the cell, text style of the fist text item in the cell). It ...
by Sergey Tkachenko
Thu Feb 21, 2008 2:44 pm
Forum: Support
Topic: ppRichView Millimeters
Replies: 9
Views: 19786

Sorry, I do not understand. ppRichView uses width defined in the ReportBuilder report designer.
Do you mean DocParameters property? Its sub-properties do not affect TRichView or ppRichView, they only can be saved and loaded in RVF and RTF.
by Sergey Tkachenko
Thu Feb 21, 2008 2:32 pm
Forum: Support
Topic: LiveSpelling problem
Replies: 13
Views: 28414

Hmm. The purpose of this procedure is wating while spellchecking of the next word is complete. If the thread is suspended, there are no reasons to wait for it. The cycle "while (StopWorking=1) and not Suspended do" is not executed if Suspended=True. So my code resumes the suspended thread ...
by Sergey Tkachenko
Wed Feb 20, 2008 6:30 pm
Forum: Support
Topic: LiveSpelling problem
Replies: 13
Views: 28414

In the next update I fixed some possible issues with live spelling on closing. The fix was oriented on db components, but probably this is the same problem.
I will upload this update as soon as Ilya finish testing new version of ScaleRichView.
by Sergey Tkachenko
Wed Feb 20, 2008 4:46 pm
Forum: Support
Topic: LiveSpelling problem
Replies: 13
Views: 28414

Can you send me a simple project reproducing this bug?
by Sergey Tkachenko
Wed Feb 20, 2008 3:52 pm
Forum: Support
Topic: Pdf generating problem
Replies: 3
Views: 12926

I am afraid I cannot help. TRichView only draws page onto Canvas provided by LLPDFLib. All low level work is done by LLPDFLib.
You should address this question to them. Or try to find options for font embedding.
by Sergey Tkachenko
Wed Feb 20, 2008 6:15 am
Forum: Support
Topic: strnew replacement?
Replies: 9
Views: 25120

NewStr() is never used in RichView code. But some functions have parameters named NewStr.
And yes, Pieter is right, StrNew is not deprecated. There is no reason why function allocating a new string on the heap should be deprecated.