Search found 9 matches

by duzenko
Tue Mar 04, 2008 10:55 am
Forum: Support
Topic: LiveSpelling problem
Replies: 13
Views: 28353

Once I got somewhat related to that. I used ClearLiveSpellingResults to force the live spelling to terminate.
by duzenko
Thu Feb 14, 2008 1:24 pm
Forum: Support
Topic: How to protect paragraph against deletion?
Replies: 13
Views: 26878

I added the Format function call. This allowed me to get rid of the exception, but now the RichViewEdit gets focused on the parent form during the building of documents.

This is a cosmetic thing but is important for us.

How could I avoid self-focusing of the component?
by duzenko
Thu Feb 14, 2008 1:08 pm
Forum: Support
Topic: How to protect paragraph against deletion?
Replies: 13
Views: 26878

It's interesting, especially that help topic "Selection in Table" says nothing about it.
by duzenko
Thu Feb 14, 2008 9:42 am
Forum: Support
Topic: How to protect paragraph against deletion?
Replies: 13
Views: 26878

Would anyone help me with that?
by duzenko
Wed Feb 13, 2008 9:54 am
Forum: Support
Topic: How to protect paragraph against deletion?
Replies: 13
Views: 26878

This is ready. Now I need to select certain text in a certain cell, for example, from 10th to 20th characters in the cell[3, 1]. I guess I should use SetSelectionBounds function. But what parameters do I have to pass into it in my case? procedure AddRow(List: TTntStringList; index, ParaStyleId, Text...
by duzenko
Tue Feb 12, 2008 12:28 pm
Forum: Support
Topic: How to protect paragraph against deletion?
Replies: 13
Views: 26878

I filled a table cells with text. How can I protect text in some cells against editing?
by duzenko
Fri Feb 08, 2008 3:59 pm
Forum: Support
Topic: How to protect paragraph against deletion?
Replies: 13
Views: 26878

Sergey Tkachenko wrote:May be you can consider using tables?
If this is the only way :( ...
by duzenko
Fri Feb 08, 2008 8:44 am
Forum: Support
Topic: How to protect paragraph against deletion?
Replies: 13
Views: 26878

You did not understand. Current code is FNativeTextStyleId := Style.TextStyles.Count; Style.TextStyles.Add.Protection := [rvprDeleteProtect, rvprModifyProtect]; FTranslationTextStyleId := Style.TextStyles.Count; Style.TextStyles.Add.Protection := [rvprParaStartProtect]; FNativeTextStyleId is for odd...
by duzenko
Thu Feb 07, 2008 3:24 pm
Forum: Support
Topic: How to protect paragraph against deletion?
Replies: 13
Views: 26878

How to protect paragraph against deletion?

I have several rows with paired text, for example: 1 one 2 two I must allow user to delete e.g. text "one" but not to delete paragraph, so that an empty paragraph should remain. How to do that? Current protection that I use FNativeParaStyleId := Style.ParaStyles.Count; Style.ParaStyles.Add...