Search found 62 matches

by palmeira
Tue Feb 17, 2009 5:24 pm
Forum: ScaleRichView
Topic: Removing Selection
Replies: 12
Views: 42082

I have just installed version 2.0.4, but it has not solved the problem.
by palmeira
Mon Feb 16, 2009 10:10 pm
Forum: ScaleRichView
Topic: Removing Selection
Replies: 12
Views: 42082

Thanks for the posts. 1) I am using ScaleRichView version 2.0.3. 2) I had already added the popup code. The popup is shown when I right click a word, the problem is that the correction suggestions are not (unless I simulate a left click, as mentioned.) Anyway, I reported this just for your informati...
by palmeira
Fri Feb 13, 2009 11:07 pm
Forum: ScaleRichView
Topic: Removing Selection
Replies: 12
Views: 42082

Removing Selection

If I select some text (or an entire document) and click in part of the selection, sometimes the selection is removed, but more often it is not. Is there a way to make the selection always be removed? Edit: I also use a component TRVAPopupMenu with live spell checking. If I right click a mispelled wo...
by palmeira
Fri Jan 23, 2009 3:20 pm
Forum: ScaleRichView
Topic: List index out of bounds
Replies: 11
Views: 43190

The document is the file used in the demo, readme.rvf. I have sent you by email a zip file with the document, the source code and the executable. Please advise me if there is anything else you need.
by palmeira
Fri Jan 23, 2009 2:43 pm
Forum: ScaleRichView
Topic: list index out of bounds(1) when on filenew execute
Replies: 5
Views: 24637

I do not think it was caused by an error in a document, but by a bug in my program, that has several problems - for instance, there were several RVAControlPanels in the project, that I have recently removed. In any case, I had problems loading files, that went way when I disabled temporarily the act...
by palmeira
Fri Jan 23, 2009 2:59 am
Forum: ScaleRichView
Topic: list index out of bounds(1) when on filenew execute
Replies: 5
Views: 24637

I had a problem similar to this, and solved it disabling the actions (using RVAControlPanel) before loading the document, and enabling them again just after.
by palmeira
Fri Jan 23, 2009 1:01 am
Forum: ScaleRichView
Topic: List index out of bounds
Replies: 11
Views: 43190

PS 1: Even with the procedure Semsublinhado the error is still ocurring, although much less frequenty, and in a way that is difficult to reproduce - I keep applying and removing underline and calling the formattting code, and at certain moment there is an error. Please advise. (The error is traced t...
by palmeira
Fri Jan 23, 2009 12:44 am
Forum: ScaleRichView
Topic: List index out of bounds
Replies: 11
Views: 43190

Hi, I tested the program using the procedure adapted from the mark and search demo, and again received the error 'List index out of bounds (948)'. The code that causes the error is: SRichViewEdit1.CanUpdate := False; // ----------------- ADD SRichViewEdit1.CanUpdateMargin := False; // --------------...
by palmeira
Thu Jan 22, 2009 10:55 pm
Forum: ScaleRichView
Topic: List index out of bounds
Replies: 11
Views: 43190

Many thanks. Should I still uses CalculatePageCount?
by palmeira
Thu Jan 22, 2009 6:26 pm
Forum: ScaleRichView
Topic: List index out of bounds
Replies: 11
Views: 43190

1) Hi, Thanks for the pointers, but I did as told (after moving the code to the OnClick event of a button, so that I could test it more extensively), but still kept getting the same error: List Index out of Bounds (948). (This error does not happen every time the button is pressed. It sometimes happ...
by palmeira
Thu Jan 22, 2009 3:13 pm
Forum: ScaleRichView
Topic: pagination problem
Replies: 7
Views: 33806

Just to make sure I undestood, I may set RichViewPixelsPerInch=96 even if the screen resolution is 120, and everything will work correctly. Is that so? Thanks.
by palmeira
Thu Jan 22, 2009 1:49 pm
Forum: ScaleRichView
Topic: List index out of bounds
Replies: 11
Views: 43190

Hi, I think I foud out the bug in my code: I inserted NormalizaRuchView/ClearUndo/Format before the second loop, and everything seems to be working fine now. Edit 1: Sorry to say that the error remains. It is odd, because all the operations seem to be legal, so I would not expect to be an error in t...
by palmeira
Thu Jan 22, 2009 4:29 am
Forum: ScaleRichView
Topic: List index out of bounds
Replies: 11
Views: 43190

List index out of bounds

In order to keep some ponctuation symbos from splitting from the previous word (when they have different formats), I use the function below: procedure Keeptogether(const ve1: TRichViewEdit; const inicio: integer); var j, li1, li2 {, k}: Integer; i1, i2: string; changed, atualizar: Boolean; tentativa...
by palmeira
Mon Jan 12, 2009 12:17 pm
Forum: ScaleRichView
Topic: pagination problem
Replies: 7
Views: 33806

I found out my mistake: although I was setting the component property to false, I was using the method DrawPage with PageNoVisible set to true (I had forgotten about this argument). Many thanks for your help.
by palmeira
Mon Jan 12, 2009 2:14 am
Forum: ScaleRichView
Topic: pagination problem
Replies: 7
Views: 33806

As I tried to isolate the bug, I have found out what was causing the problem: the program was setting the margins of the associated RichViewEdit to zero. Anyway, I have stumbled upon some possible problems: a) ScaleRichViews does not use RichViewPixelsPerInch, even when its value is not zero; b) Sca...