Search found 7317 matches

by Sergey Tkachenko
Wed Sep 28, 2005 9:30 am
Forum: Support
Topic: Does RichView had any interface to insert picture?
Replies: 1
Views: 6694

Inserting picture? It's simple: var bmp: TBitmap; bmp := TBitmap.Create; bmp.LoadFromFile('c:\pic.bmp'); RichViewEdit1.InsertPicture('', bmp, rvvaBaseline); About storing picture file name, there are two ways to do it. The simplest way is to store it in the "item name" - text value associated in TRi...
by Sergey Tkachenko
Wed Sep 28, 2005 9:16 am
Forum: Support
Topic: access violation on table.cell[x,y].edit twice
Replies: 10
Views: 12356

You use TRichView 1.9.8 and Delphi 2005, aren't you?
TRichView 1.9.8 has a bug appearing in D2005.

If yes,
- if you are a registered user, please update to the newer version;
- if not, I can send updated version to you by e-mail.
by Sergey Tkachenko
Wed Sep 28, 2005 8:26 am
Forum: Support
Topic: Change picture to hot-picture when resizing ?
Replies: 9
Views: 11206

Sorry, there is no such event.
If you want to convert scaled pictures automatically, I think it's better to do it for all pictures in the document just before HTML saving.
by Sergey Tkachenko
Wed Sep 28, 2005 7:39 am
Forum: Support
Topic: Style ComboBox
Replies: 5
Views: 8897

It will be included in the next major update of TRichView (v1.10).
This is all that I can say.
by Sergey Tkachenko
Wed Sep 28, 2005 7:37 am
Forum: Support
Topic: New support forums. Please read.
Replies: 23
Views: 23186

Making a mailing list duplicate of this forum?
I do not think that it's necessary.
by Sergey Tkachenko
Wed Sep 28, 2005 7:33 am
Forum: Support
Topic: Change picture to hot-picture when resizing ?
Replies: 9
Views: 11206

No, you need to do it yourself.

But usually HTML pages includes not a scaled large picture but a smaller version of picture.
by Sergey Tkachenko
Wed Sep 28, 2005 7:30 am
Forum: Support
Topic: access violation on table.cell[x,y].edit twice
Replies: 10
Views: 12356

I tried, this code executes without errors when added in the ActionTest demo.
Are you sure that
1) You do not have any code in events which may cause AV
2) All tables have more than 1 column
3) In all tables the cell [0, 1] is not merged with the cell [0, 0]
?
by Sergey Tkachenko
Tue Sep 27, 2005 3:45 pm
Forum: Support
Topic: access violation on table.cell[x,y].edit twice
Replies: 10
Views: 12356

Do you want to add a new row and copy content of the last row to it? Some notes: 1) Reformat is not needed, BeginItemModify-EndItemModify does this work, 2) Table.EditCell(r,c) and Cell[r,c].Edit are equivalent methods. 3) SelectAll and CopyRVF must be called for Cell.GetRVData. 4) The second pair o...
by Sergey Tkachenko
Tue Sep 27, 2005 2:34 pm
Forum: Support
Topic: access violation on table.cell[x,y].edit twice
Replies: 10
Views: 12356

No, it's not necessary. I added the following code in the ActionTest demo: procedure TForm3.Button2Click(Sender: TObject); var table: TRVTableItemInfo; rve: TCustomRichViewEdit; begin if RichViewEdit1.GetCurrentItemEx(TRVTableItemInfo, rve, TCustomRVItemInfo(table)) then begin table.EditCell(0, 0); ...
by Sergey Tkachenko
Tue Sep 27, 2005 11:01 am
Forum: Support
Topic: Style ComboBox
Replies: 5
Views: 8897

Sorry, in the current version it's not possible
by Sergey Tkachenko
Tue Sep 27, 2005 8:28 am
Forum: Support
Topic: Hyperlink click area
Replies: 1
Views: 5928

See the demo
Demos\Delphi\Assorted\PlanetQuiz\
by Sergey Tkachenko
Tue Sep 27, 2005 8:18 am
Forum: Support
Topic: Loading RTF that contains images.
Replies: 6
Views: 9332

I think there is something special in these images.
Please send me this RTF file by e-mail.
by Sergey Tkachenko
Mon Sep 26, 2005 4:53 pm
Forum: Examples, Demos
Topic: [How to] How to switch Insert/Overtype mode
Replies: 1
Views: 28342

[How to] How to switch Insert/Overtype mode

The overwrite mode is not supported directly, but you can implement it using events. The code is below. var IgnoreNextChar: Boolean = False; procedure TForm1.RichViewEdit1KeyDown(Sender: TObject; var Key: Word; Shift: TShiftState); begin IgnoreNextChar := RichViewEdit1.SelectionExists; end; procedur...
by Sergey Tkachenko
Mon Sep 26, 2005 4:08 pm
Forum: Support
Topic: Style ComboBox
Replies: 5
Views: 8897

No, you need to do it yourself.

RichViewActions will include a style combobox only after implementation of MS Word-like system of styles (which will be added over the existing system of styles)
by Sergey Tkachenko
Mon Sep 26, 2005 4:06 pm
Forum: Support
Topic: External CSS
Replies: 1
Views: 5474

1) Save CSS by RichViewEdit.Style.SaveCSS
2) Pass the CSS file name to ExternalCSS parameter of SaveHTMLEx.