http://www.trichview.com/support/files/copytotable.zip
Assuming that the table has this important text in the first item of Cells[0,0], you can get it as table.Cells[0,0].GetRVData.GetItemTextA(0).
Search found 9445 matches
- Thu Nov 16, 2006 5:45 pm
- Forum: Support
- Topic: Adding a field that is a Formatted Memo field?
- Replies: 4
- Views: 15592
- Thu Nov 16, 2006 5:17 pm
- Forum: Support
- Topic: Win98 and wide text changing to white
- Replies: 2
- Views: 11032
- Wed Nov 15, 2006 4:53 pm
- Forum: Support
- Topic: Edit Line of a Cell
- Replies: 5
- Views: 18195
- Wed Nov 15, 2006 4:43 pm
- Forum: Support
- Topic: How to make a fontstyle format brush like in MS Word?
- Replies: 7
- Views: 22186
Well, there is a simpler solution. StyleNo: Integer; // form's variable On form's creation: StyleNo := -1; Reading the current text format: StyleNo := RichViewEdit1.CurTextStyleNo; Applying to the selection: if StyleNo>=0 then RichViewEdit1.ApplyTextStyle(StyleNo); The only problem with this solutio...
- Wed Nov 15, 2006 4:37 pm
- Forum: Support
- Topic: How to make a fontstyle format brush like in MS Word?
- Replies: 7
- Views: 22186
Ok, let we have RichViewEdit1: TRichViewEdit, linked to RVStyle1: TRVStyle. TextStyle: TFontInfo; // form's variable Reading current text format: TextStyle.Free; TextStyle := TFontInfo.Create(nil); TextStyle.Assign(RVStyle.TextStyles[RichViewEdit1.CurTextStyleNo]); Applying to the selection: var Sty...
- Wed Nov 15, 2006 3:41 pm
- Forum: Support
- Topic: Adding a field that is a Formatted Memo field?
- Replies: 4
- Views: 15592
- Wed Nov 15, 2006 3:17 pm
- Forum: Support
- Topic: Adding a field that is a Formatted Memo field?
- Replies: 4
- Views: 15592
As for the given visual layout, you can implement it using tables. Table with 2 columns and 1 row. In the first cell: 'Contest:' In the second cell: field which will be replaced to the formatted document. As for implementing fields where values are arbitrary formatted documents, see Demos\Delphi\Ass...
- Wed Nov 15, 2006 3:01 pm
- Forum: Support
- Topic: Set tabs by buttonClick
- Replies: 9
- Views: 25259
- Wed Nov 15, 2006 2:33 pm
- Forum: Support
- Topic: Set tabs by buttonClick
- Replies: 9
- Views: 25259
Pieter, your code clears all existing tabs and then adds new tabs. My code adds new tabs in addition to the existing tabs. Without clearing, you should search if some tab exists at the given position (using ParaInfo.Tabs.Find), and, if exists, update its properties instead of adding a new tab. Using...
- Tue Nov 14, 2006 9:19 pm
- Forum: Support
- Topic: Set tabs by buttonClick
- Replies: 9
- Views: 25259
Ok. Assuming that you do not use RichViewActions... All editing operations on paragraph attributes, including tabs, must be implemented using ApplyParaStyleConversion procedure + OnParaStyleConversion event. How to add this command to the demo in Demos\Delphi\Editors\Editor 2\: Open Unit1.pas. Find ...
- Tue Nov 14, 2006 7:20 pm
- Forum: Support
- Topic: RichViewEdit.GetTextLen always "0"
- Replies: 1
- Views: 9493
GetTextLen simple uses WM_GETTEXTLENGTH message. Processing of WM_GETTEXT, WM_GETTEXTLENGTH, WM_SETTEXT was disabled for Delphi 2005 and 2006, because it conflicted with VCL implementation. Sorry, I do not plan to restore them. EM_GETTEXTLENGTHEX is not supported. Use the functions RVGetTextRange an...
- Tue Nov 14, 2006 7:10 pm
- Forum: Support
- Topic: Crash on Print Preview (RichViewActions)
- Replies: 1
- Views: 11234
- Tue Nov 14, 2006 5:56 pm
- Forum: Support
- Topic: Printing Problem with tables!
- Replies: 47
- Views: 152085
- Tue Nov 14, 2006 5:47 pm
- Forum: Support
- Topic: FastReport 3 Wrapper ?
- Replies: 6
- Views: 18797
- Tue Nov 14, 2006 5:46 pm
- Forum: Support
- Topic: Set tabs by buttonClick
- Replies: 9
- Views: 25259