Search found 9411 matches

by Sergey Tkachenko
Fri Aug 11, 2006 7:17 pm
Forum: Examples, Demos
Topic: [Demo] Replacing controls with text
Replies: 1
Views: 28904

[Demo] Replacing controls with text

controls2text.zip Shows how to change controls to their text value http://www.trichview.com/support/files/controls2text.gif 2008-Dec-11: for compatibility with TRichView 11 and Delphi 2009. 2011-Oct-1: for compatibility with TRichView 13.4 2018-Apr-9: for compatibility with TRichView 17.3 http://ww...
by Sergey Tkachenko
Fri Aug 11, 2006 1:51 pm
Forum: Support
Topic: storage problem about an inserted mp3 player activex control
Replies: 4
Views: 13634

I think you can add new properties ether in OCX control or in VCL wrapper for this control, it does not matter. In that forum, you can find an example of Flash ActiveX modification. The ActiveX itself is not modified (of course), but new property (allowing to store movie) is added in VCL wrapper. Yo...
by Sergey Tkachenko
Fri Aug 11, 2006 5:45 am
Forum: Support
Topic: SetAddParagraphMode(False) has no effect on lists?
Replies: 1
Views: 8503

bullet/numbering must start a new paragraph in TRichView, it cannot start a line break inside the paragraph
by Sergey Tkachenko
Wed Aug 09, 2006 5:47 pm
Forum: Support
Topic: Page Margins
Replies: 9
Views: 26563

Currently, page margins are assumed to be a property of application, not a property of document. LeftMarginMM, etc. are properties of TRVPrint component, so TRichView cannot store them (TRichView does not have a link to TRVPrint). In future, I plan to add new properties in TRichView. For now, you sh...
by Sergey Tkachenko
Wed Aug 09, 2006 3:34 pm
Forum: Support
Topic: BiDiMode Assignment To Individual Table Cells
Replies: 1
Views: 8081

Sorry, no.
BiDiMode can be changed for the main document, paragraph and text item
by Sergey Tkachenko
Tue Aug 08, 2006 4:19 pm
Forum: Support
Topic: Print out text only of insertet components
Replies: 7
Views: 20255

Please send 2 screen shots to me by e-mail ( [email protected] ):
1) how it should look like in editing mode
2) how it should look like in viewing mode
by Sergey Tkachenko
Tue Aug 08, 2006 4:17 pm
Forum: Support
Topic: Moving cursor into and out of inserted components
Replies: 8
Views: 22786

RichViewEdit1.OnKeyDown: procedure TForm1.RichViewEdit1KeyDown(Sender: TObject; var Key: Word; Shift: TShiftState); var rve: TCustomRichViewEdit; ItemNo, Offs: Integer; Name: String; VAlign: TRVVAlign; Tag: Integer; Control: TControl; begin rve := RichViewEdit1.TopLevelEditor; ItemNo := rve.CurItemN...
by Sergey Tkachenko
Tue Aug 08, 2006 10:31 am
Forum: Support
Topic: Moving cursor into and out of inserted components
Replies: 8
Views: 22786

Use Control.SetFocus to focus Control. As for moving focus out of the control when pressing Left and Right keys: 1) This function returns the control position in TRichView function FindControlLocation(RVData: TCustomRVData; ctrl: TControl; var CtrlRVData: TCustomRVData; var CtrlItemNo: Integer): Boo...
by Sergey Tkachenko
Tue Aug 08, 2006 10:08 am
Forum: Support
Topic: Print out text only of insertet components
Replies: 7
Views: 20255

Probably, you can delete these text before viewing/printing?
by Sergey Tkachenko
Mon Aug 07, 2006 2:14 pm
Forum: Support
Topic: Live Spell Check Problem
Replies: 2
Views: 11568

In the TRVAPopupMenu's event, Suggestions is not a VAR-parameter. Assignment to it does nothing, you should add strings to it instead: procedure TForm1.RVAPopupMenu1LiveSpellGetSuggestions( Sender: TRVAPopupMenu; Edit: TCustomRichViewEdit; const Word: String; StyleNo: Integer; Suggestions: TStrings)...
by Sergey Tkachenko
Fri Aug 04, 2006 3:54 pm
Forum: Support
Topic: Ask how to use OnDrawBorder of tables
Replies: 2
Views: 10116

I added your code in the Editor1 demo, and it works as expected. May be you mean that this event is not executed when the document is saved to RVF and reloaded? Events are not stored in RVF files, you need to reassign them in OnItemAction event: procedure TForm1.RichViewEdit1ItemAction(Sender: TCust...
by Sergey Tkachenko
Fri Aug 04, 2006 3:35 pm
Forum: Support
Topic: Some questions about selection of pictures (or hot-pictures)
Replies: 1
Views: 8628

There are no other ways of displaying picture selection supported. Ok, I'll include the following changes in the next update. 1) New procedure procedure ShadeRectangle(Canvas: TCanvas; const R: TRect; Color: TColor); const Bits: array[0..7] of Word = ($55, $aa, $55, $aa, $55, $aa, $55, $aa); var Bit...
by Sergey Tkachenko
Fri Aug 04, 2006 2:45 pm
Forum: Support
Topic: Text with ansi code in table cells
Replies: 1
Views: 7908

1) If you have problems loading some specific RTF file, please send this file to me by e-mail 2) Item text cannot contain line break characters and tabs. AddTextNLA may add several items. #13#10 separates items, tabs are added as a special item (TRVTabItemInfo). Solutions: a) you can clear the cell ...
by Sergey Tkachenko
Fri Aug 04, 2006 12:10 pm
Forum: Support
Topic: clipboard question
Replies: 1
Views: 9096

Your application can copy some additional custom format to the Clipboard
(in TRichView.OnCopy event). See RegisterClipboardFormat (WinAPI function). If this format is present, these data were copied by your application (but may be another instance of it)
by Sergey Tkachenko
Fri Aug 04, 2006 12:05 pm
Forum: Support
Topic: Tables export to RTF problem
Replies: 2
Views: 9585

Actually, 0 is a default value for table.BestWidth.
It means default table width.
May be results will be better if you set it to -100 (i.e. 100% of page/window width)