Search found 9391 matches
- Fri Aug 24, 2007 5:05 pm
- Forum: Support
- Topic: Strange problem
- Replies: 4
- Views: 12179
Is it possible to create a project reproducing the problem and send it to me? You can use this code to detect error. It checks if the RichViewEdit1 content's Unicode mode corresponds to TextStyles[].Unicode. Only the first item is checked. uses RVItem; RichViewEdit1.Format; if (RichViewEdit1.GetItem...
- Fri Aug 24, 2007 4:56 pm
- Forum: Support
- Topic: Problem in Saving RV as RTF
- Replies: 3
- Views: 10884
Controls are saved in RVF by default (all their published properties are stored, except for links to other components and events).
In order to load controls, they must be registered using RegisterClass.
For example:
RegisterClass(TButton);
Call registering code one time before the first RVF loading.
In order to load controls, they must be registered using RegisterClass.
For example:
RegisterClass(TButton);
Call registering code one time before the first RVF loading.
- Wed Aug 22, 2007 3:58 pm
- Forum: Support
- Topic: Problem in Saving RV as RTF
- Replies: 3
- Views: 10884
- Wed Aug 22, 2007 3:55 pm
- Forum: Support
- Topic: Auto calculate reporter height
- Replies: 2
- Views: 9127
- Wed Aug 22, 2007 3:51 pm
- Forum: ScaleRichView
- Topic: OnCurTextStyleChange??
- Replies: 5
- Views: 23151
- Tue Aug 21, 2007 4:30 pm
- Forum: Support
- Topic: Print a defined rtf
- Replies: 3
- Views: 10153
- Tue Aug 21, 2007 10:02 am
- Forum: Support
- Topic: Bug in RVRuler.pas
- Replies: 2
- Views: 8781
- Mon Aug 20, 2007 1:16 pm
- Forum: Support
- Topic: Changing the fontname of text in a document
- Replies: 4
- Views: 13639
This code must work. But if you want to replace content of Document, call: Document.Clear; VRichView.SaveRVFToStream( Document, False ); instead of VRichView.SaveRVFToStream( Document, True ); Without clearing the stream, new information will be written to the end of the existing content. It may pro...
- Mon Aug 20, 2007 12:39 pm
- Forum: ScaleRichView
- Topic: TScaleRichView - EListIndex out of Bounds Error
- Replies: 6
- Views: 25392
- Mon Aug 20, 2007 11:16 am
- Forum: Support
- Topic: TRVTextItemInfo
- Replies: 5
- Views: 11942
- Mon Aug 20, 2007 11:14 am
- Forum: Support
- Topic: TRVTextItemInfo
- Replies: 5
- Views: 11942
var intIndex: Integer; objData: TRVEditRVData; objItem: TRVTableItemInfo; objCell: TRVTableCellData; intRow: Integer; intCol: Integer; intCount: Integer; begin objData := TRVEditRVData(rvEdit.RVData); for intIndex := 0 to rvEdit.ItemCount-1 do begin if objData.GetItem(intIndex) is TRVTableItemInfo ...
- Mon Aug 20, 2007 11:01 am
- Forum: Support
- Topic: Page breaks problem in Table.
- Replies: 7
- Views: 18012
- Mon Aug 20, 2007 10:54 am
- Forum: Support
- Topic: Changing the fontname of text in a document
- Replies: 4
- Views: 13639
Code: Select all
for i :=0 to VStyles.TextStyles.Count-1 do
VRichView.Style.TextStyles[i].FontName := 'Arial Unicode MS';
VRichView.Format;
So add:
Code: Select all
VRichView.Visible := False;
VRichView.Parent := <some form>
- Mon Aug 20, 2007 10:50 am
- Forum: Support
- Topic: Print a defined rtf
- Replies: 3
- Views: 10153
Place on form: RichView1: TRichView, RVStyle1: TRVStyle; RVPrint1: TRVPrint. Assign (at designtime) RichView1.Style := RVStyle1. Loading RTF file: RichView1.Clear; RichView1.LoadRTF('/home/peter/test.rtf'); RichView1.Format; Next, you need to choose printer. RVPrint uses the application printer sett...
- Mon Aug 20, 2007 10:37 am
- Forum: Support
- Topic: SaveRVFToStream problem
- Replies: 1
- Views: 7672