Search found 193 matches

by Marsianin
Tue Jan 26, 2010 7:56 pm
Forum: Support
Topic: PNG Pictures lost in Delphi 2009
Replies: 17
Views: 45831

The problem still exists.
Please check your email for more detailed explanation and demo file.
rvActionsDemo raises error opening that file.
But my old EXE with RVE v.10 or v.11 compiled under D2007 works fine.
by Marsianin
Sun Jan 17, 2010 7:36 pm
Forum: Support
Topic: Manually scroll RichViewEdit
Replies: 11
Views: 30660

Any suggestions on how to scroll by line?
by Marsianin
Sun Jan 17, 2010 7:33 pm
Forum: Support
Topic: Access violation with PNG inside table.
Replies: 3
Views: 16982

I cannot assign TIcon to TPNGImage.
This will not work:
PNGImage.Assign(TIcon)

but this will:
PNGImage.Assign(TBitmap)

But using bitmap loses transparency :(

Found a code inside PNGComponents on how to convert ICO to PNG...it's a big procedure. Should be easier for D2009/2010
by Marsianin
Sun Jan 17, 2010 7:27 pm
Forum: Support
Topic: Access violation on undo in table
Replies: 14
Views: 28096

Ok, thanks. It's working now.
Had to put some other checks to avoid selection bounds errors but now it works.
by Marsianin
Thu Jan 14, 2010 6:11 pm
Forum: Support
Topic: Access violation on undo in table
Replies: 14
Views: 28096

It worked before like a charm. Never got any errors.
So where I should move it? Where is better?
by Marsianin
Wed Jan 13, 2010 9:48 pm
Forum: Support
Topic: Access violation on undo in table
Replies: 14
Views: 28096

Commented UpdateEditorUI and got just one AccessViolation here (not infinite access violation loop as in the first case): procedure TCustomRVFormattedData.Item2DrawItem(ItemNo, ItemOffs: Integer; var DrawItemNo, DrawItemOffs: Integer); var item: TCustomRVItemInfo; i: Integer; begin DrawItemNo := -1;...
by Marsianin
Wed Jan 13, 2010 9:43 pm
Forum: Support
Topic: Access violation on undo in table
Replies: 14
Views: 28096

It happens when undo action moves cursor from one cell to another. I have this OnCaretMove implementation: procedure TMainForm.RichViewEdit1CaretMove(Sender: TObject); var line,linescount,col:Integer; begin UpdateEditorUI; RichViewEdit1.GetCurrentLineCol(line,col); with RichViewEdit1 do try linescou...
by Marsianin
Wed Jan 13, 2010 5:49 pm
Forum: Support
Topic: Access violation on undo in table
Replies: 14
Views: 28096

Will try to find the problem but I didn't change anything in my code before migrating to v.12.
by Marsianin
Wed Jan 13, 2010 5:47 pm
Forum: Support
Topic: Manually scroll RichViewEdit
Replies: 11
Views: 30660

But it's common for all Windows controls. If you open Windows Control Panel - Mouse - Wheel Tab you will see: ----------------------------------------- Vertical Scrolling Roll the wheel one notch to scroll: The following number of lines at a time. ----------------------------------------- So what is...
by Marsianin
Wed Jan 13, 2010 1:45 am
Forum: Support
Topic: Access violation on undo in table
Replies: 14
Views: 28096

Access violation on undo in table

There is a problem with Access Violation when making undo inside table in RVE 12.0.4 Just create a table, enter something and press Alt+Backspace several times. Sometimes access violation fires on pressing Backspace only or changing cell background color. The problem appears here: function TRVEditRV...
by Marsianin
Tue Jan 12, 2010 11:41 pm
Forum: Support
Topic: Manually scroll RichViewEdit
Replies: 11
Views: 30660

But how wheel works for RVE when scrolls it for the fixed amount of lines?

Also line is a line even if it contains different font sizes you should measure line height by the highest symbol/picture and scroll is a just one line. I think.
by Marsianin
Tue Jan 12, 2010 11:38 pm
Forum: Support
Topic: caretmove in table
Replies: 4
Views: 12176

Try to undo inside table in RVE 12.0.4 - you will get access violation.
by Marsianin
Mon Jan 11, 2010 6:48 pm
Forum: Support
Topic: Paste HTML using pBear HtmlImport
Replies: 19
Views: 46864

Ok, thanks for the sample, will study it.
But how can I know if last image was processed and document is ready?
by Marsianin
Mon Jan 11, 2010 6:44 pm
Forum: Support
Topic: Manually scroll RichViewEdit
Replies: 11
Views: 30660

It scrolls a lot not by line.
How can I scroll by line using WheelDelta from OnMouseWheel?
by Marsianin
Sat Jan 09, 2010 2:18 am
Forum: Support
Topic: Manually scroll RichViewEdit
Replies: 11
Views: 30660

Manually scroll RichViewEdit

I need to manually scroll RVE for some amount of lines (OnMouseWheel).
And this doesn't works for TRichView:

Code: Select all

SendMessage(RichViewEdit1.Handle,EM_LINESCROLL,0,WheelDelta);
RVE.ScrollBy works unexpectedly...