Search found 2 matches
- Wed Jun 21, 2006 9:13 pm
- Forum: Examples, Demos
- Topic: [Examples] Count of characters and words
- Replies: 37
- Views: 276534
Re: [Examples] Count of characters and words
Calculating a number of characters uses CRVData; function GetCharCount(RVData: TCustomRVData): Integer; var i,r,c: Integer; table: TRVTableItemInfo; begin Result := 0; for i := 0 to RVData.Items.Count-1 do if RVData.GetItemStyle(i)>=0 then begin // this is a text item inc(Result, RVData.ItemLength ...
- Wed Jun 21, 2006 9:03 pm
- Forum: Support
- Topic: Copy to clipboard without crash
- Replies: 3
- Views: 16203
Copy to clipboard without crash
Anyone know of a way to use the TRichViewEdit and copy data to the clipboard without the application crashing if the data in the TRichViewEdit is quite large? Windows Notepad can handle copying text within seconds after clicking Edit-Copy, or Ctrl+C, whereas if you have a large amount of data (i've ...