Search found 176 matches
- Tue May 22, 2012 4:19 pm
- Forum: Support
- Topic: ApplyStyleConv..(rv_BackColor) - error only in rveTable
- Replies: 9
- Views: 22354
procedure TForm1. memoKeyDown (Sender: TObject; var Key: Word; Shift: TShiftState); ... begin ... if (ssCtrl in Shift) and (ssShift in Shift) then begin //Strg+Shift+key ... end else if (ssShift in Shift) then begin //Shift+key ... end else if (ssCtrl in Shift) and (ssShift in Shift) then begin //St...
- Sun May 20, 2012 4:25 pm
- Forum: Support
- Topic: ApplyStyleConv..(rv_BackColor) - error only in rveTable
- Replies: 9
- Views: 22354
That works, BUT cursor is beneath table and not at the end of text which was marked before. Therefore I add in procedure TForm1.WMMyCommand rveTable.xxx procedure TForm1.WMMyCommand(var Msg: TMessage); begin rveTable.GetEditedCell(rveTzeile1,rveTspalte1); memo.Deselect; rveTable.EditCell(rveTzeile1,...
- Sun May 20, 2012 9:01 am
- Forum: Support
- Topic: ApplyStyleConv..(rv_BackColor) - error only in rveTable
- Replies: 9
- Views: 22354
create a menu item with Ctrl+F4 and Ctrl+F10 shortcuts
Thank you, Sergey. >>create a menu item with Ctrl+F4 and Ctrl+F10 shortcuts. //do you mean AND and not OR ? All trials don’t memo.deselect. Can you tell me what I have to write? procedure TForm1.memoKeyDown(Sender: TObject; var Key: Word; Shift: TShiftState); … begin … Memo.ApplyStyleConversion(rv_B...
- Fri May 18, 2012 3:28 pm
- Forum: Support
- Topic: ApplyStyleConv..(rv_BackColor) - error only in rveTable
- Replies: 9
- Views: 22354
memo.deselect
Memo.ApplyStyleConversion(rv_BackCOLOR);
if memo.GetCurrentItemEx(TRVTableItemInfo, rve, TCustomRVItemInfo(rveTable)) then key:= vk_right
else memo.deselect;
to deselect memo about key:= vk_right (or another key) is not the right way.
Do you know another way ?
if memo.GetCurrentItemEx(TRVTableItemInfo, rve, TCustomRVItemInfo(rveTable)) then key:= vk_right
else memo.deselect;
to deselect memo about key:= vk_right (or another key) is not the right way.
Do you know another way ?
- Fri May 18, 2012 2:28 pm
- Forum: Support
- Topic: ApplyStyleConv..(rv_BackColor) - error only in rveTable
- Replies: 9
- Views: 22354
- Fri May 18, 2012 12:58 pm
- Forum: Support
- Topic: ApplyStyleConv..(rv_BackColor) - error only in rveTable
- Replies: 9
- Views: 22354
ApplyStyleConv..(rv_BackColor) - error only in rveTable
I want to mark a text with backcolor clYellow All is ok if text is in memo, but only if text is in a rveTable I get an error-hint. After closing error-window progam runs without error. procedure TForm1.memoKeyDown(Sender: TObject; var Key: Word; Shift: TShiftState); { var r,c,rs,cs: Integer; Cell: T...
- Sun Apr 15, 2012 8:02 pm
- Forum: Support
- Topic: to get all infos at the position of caret
- Replies: 4
- Views: 14153
- Fri Apr 13, 2012 10:51 am
- Forum: Support
- Topic: to get all infos at the position of caret
- Replies: 4
- Views: 14153
to get all infos at the position of caret
Hello, I want to get all infos at the position of caret (which is in a memo or in a “memo-table”). This was created under Vista, Delphi 7.1 and TDBRichViewEdit v13.9 Who can complete or finish or correct the following code ? procedure TForm1.sbTesten1Click(Sender: TObject); var fi: TFontInfo; schrSc...
- Wed Mar 28, 2012 1:58 pm
- Forum: Support
- Topic: Load DIRECTLY WinWord Document to rvEditor?
- Replies: 8
- Views: 21457
- Wed Mar 28, 2012 11:14 am
- Forum: Support
- Topic: Load DIRECTLY WinWord Document to rvEditor?
- Replies: 8
- Views: 21457
- Wed Mar 28, 2012 7:32 am
- Forum: Support
- Topic: Load DIRECTLY WinWord Document to rvEditor?
- Replies: 8
- Views: 21457
- Wed Mar 07, 2012 9:25 am
- Forum: Support
- Topic: Load DIRECTLY WinWord Document to rvEditor?
- Replies: 8
- Views: 21457
A joke (Scherz)Sergey Tkachenko wrote:Sorry, I do not understand the question
'Falls du mal nicht weißt was du machen sollst ...'
oder 'Solltest du mal "Saure Gurkenzeit haben"...' (http://de.wikipedia.org/wiki/Sauregurkenzeit)
... dann würde die Erweiterung (.doc to .rvf) dein Programm weiter abrunden.
- Wed Mar 07, 2012 6:20 am
- Forum: Support
- Topic: Load DIRECTLY WinWord Document to rvEditor?
- Replies: 8
- Views: 21457
Probably, you can use OLE automation (TWordApplication, TWordDocument) to save a document to a temporal RTF file (or the Clipboard) and then import it in TRichView. But I do not have an example, sorry. Thank you for your answere. If you do not know what time you should: Would that no be a further r...
- Tue Mar 06, 2012 2:40 pm
- Forum: Support
- Topic: Load DIRECTLY WinWord Document to rvEditor?
- Replies: 8
- Views: 21457
Load DIRECTLY WinWord Document to rvEditor?
Is there a way to load DIRECTLY WinWord Documents to rvEditor[br][br] Background:[br] The rvf files are very much smaller than Word files. This property I would like to use to archive Word files[br][br] I do not want[br] to load a DOC-file with Winword[br] save it by Winword as RTF file and[br] load...
- Wed Feb 22, 2012 11:54 am
- Forum: Support
- Topic: How to color a word from all my text?
- Replies: 6
- Views: 19490
Yes, the general idea is while memo.SearchText(fid.FindText, [rvseoDown]) do Memo.ApplyStyleConversion(rv_COLOR); + implementation of rv_COLOR in memo.OnStyleConversion. As for the rest of your code, I do not understand it. If you explain what you want to implement, I'll try to suggest a simple sol...