Search found 9390 matches

by Sergey Tkachenko
Tue Oct 23, 2007 8:43 am
Forum: Examples, Demos
Topic: [Example] Smart indent
Replies: 7
Views: 59267

Smart indent/unindent, MS Word style This code changes FirstIndent and LeftIndent of paragraph, if Tab/Backspace is pressed when the caret is at the beginning of paragraph. First, it changes FirstIndent. Next, if FirstIndent is already changed, it changes LeftIndent. This code changes indents only ...
by Sergey Tkachenko
Mon Oct 22, 2007 5:22 pm
Forum: Support
Topic: select control with right click mouse
Replies: 1
Views: 7898

Resizing handles appear when the control is selected. That means you have code selecting controls on clicking. If you used this demo as a sample: http://www.trichview.com/forums/viewtopic.php?t=157 this code is // This procedure is assigned to OnMouseDown of all inserted buttons procedure TForm1.Con...
by Sergey Tkachenko
Fri Oct 19, 2007 4:50 am
Forum: Support
Topic: Change underlined ‘red’ words in (underlined) ‘fuchsia’ word
Replies: 4
Views: 12045

If you want to change color of all hyperlinks (without necessity to undo it), use this code // assuming DBRichViewEdit1.Style = RVStyle1 if DBRichViewEdit1.CanChange then begin for i := 0 to RVStyle1.TextStyles.Count-1 do if RVStyle1.TextStyles[i].Jump and (RVStyle1.TextStyles[i].Color = OldColor) t...
by Sergey Tkachenko
Thu Oct 18, 2007 4:45 pm
Forum: Support
Topic: Change underlined ‘red’ words in (underlined) ‘fuchsia’ word
Replies: 4
Views: 12045

Do you need to implement it as an editing operation (that can be undone by user)?
by Sergey Tkachenko
Thu Oct 18, 2007 10:19 am
Forum: Support
Topic: double underline . Possible ?
Replies: 7
Views: 18205

Dates of exe-demos and trial versions on the site must be correct. Trials were updated in April 2007, but TRichView version used for this trial (1.9.24) is much older (becase it was the latest non-beta version at the moment of trial update). The latest version available for registered users is 1.9.4...
by Sergey Tkachenko
Thu Oct 18, 2007 9:58 am
Forum: Support
Topic: TIcon problem
Replies: 2
Views: 10879

This is a problem with TIcon. Until it is drawn (or, more exactly, until its Handle is used), it returns system default icon size (usually 32 x 32). I added a workaround in TRichView code. Until the next update, you can call: RichViewEdit1.AddText('Some text ', 0); ico := TIcon.Create; ico.LoadFromF...
by Sergey Tkachenko
Thu Oct 18, 2007 9:45 am
Forum: Support
Topic: double underline . Possible ?
Replies: 7
Views: 18205

Completed:
Image
It will be available for registered used in the next update, I hope to make it this week.
by Sergey Tkachenko
Wed Oct 17, 2007 4:19 pm
Forum: Support
Topic: Paragraph Shading
Replies: 3
Views: 12643

What do you mean by shading?
If semitransparent background, see the demo
Demos\Delphi\Assorted\Custom Draw\CustomDraw\
by Sergey Tkachenko
Wed Oct 17, 2007 4:18 pm
Forum: Support
Topic: copy text with checkpoint in it
Replies: 1
Views: 8207

May be your checkpoint has a multiline name? It's not allowed, and reading such checkpoint fails.
by Sergey Tkachenko
Wed Oct 17, 2007 4:17 pm
Forum: Support
Topic: Tables in CBuilder
Replies: 4
Views: 11423

Delphi constructors are converted to C++ constructors with the same parameters (but without name, because C++ constructors do not have names). So the code is: rvTable = new TRVTableItemInfo(2, 3, rvDoc->RVData); For example of creating tables, see Demos\CBuilder\Editors\Editor 1\, commands in "...
by Sergey Tkachenko
Wed Oct 17, 2007 4:13 pm
Forum: Support
Topic: TRichViewEdit and server DLL
Replies: 3
Views: 11116

Saving RTF with tables requires formatted document (because table grid must be calculated). If SaveRTF detects that table is not formatted, it tries to format it. But if TRVReportHelper is not initialized, it fails. Solution: call RVReportHelper.Init with any width as a parameter before calling Save...
by Sergey Tkachenko
Tue Oct 16, 2007 12:11 pm
Forum: Support
Topic: Showing "soft" page breaks
Replies: 1
Views: 8266

No, soft page break can be shown only when TRVPrint is formatted (after calling FormatPages). Any change in TRichViewEdit makes previous TRVPrint formatting invalid.
by Sergey Tkachenko
Tue Oct 16, 2007 8:56 am
Forum: Support
Topic: double underline . Possible ?
Replies: 7
Views: 18205

Days.
I already implemented a half of work (new properties (UnderlineType, UnderlineColor, HoverUnderlineColor) and 50% of drawing).
I plan to implement the rest of drawing, RTF and HTML support before the end of this week.
by Sergey Tkachenko
Tue Oct 16, 2007 8:30 am
Forum: Support
Topic: Load From Stream Not Saving to Dataset
Replies: 2
Views: 8352

Change LoadRVFFromStream to InsertRVFFromStreamEd.
Additional information can be found in the help file, example 1 ("Using viewer-style methods in DBRichViewEdit") in the topic about TDBRichViewEdit.
by Sergey Tkachenko
Tue Oct 16, 2007 8:19 am
Forum: Support
Topic: TRichViewEdit and server DLL
Replies: 3
Views: 11116

In the latest version (available for registered users) TRVReportHelper does not require parent.