Search found 176 matches
- Sat Apr 07, 2018 4:28 pm
- Forum: Support
- Topic: time passed until first typed letter appeared in memo.
- Replies: 12
- Views: 31820
time passed until first typed letter appeared in memo.
I have copied more and more pictures over time into a TRichView-Memo. Some day I noticed that more and more time passed until first typed letter appeared in memo. Following typed letter immediately appeared. Cause are the many pictures. 1. Can you solve this problem so that letter 'immediately' appe...
- Wed Jan 25, 2017 12:45 pm
- Forum: Support
- Topic: table.with from rveMemo to word and back
- Replies: 2
- Views: 10363
table.with from rveMemo to word and back
I copy a rveTable by Ctrl + c from rveMemo to Word.
Then I copy table from Word back rveMemo.
Result:
It has become narrower (schmäler). Each table column width has been reduced by 4 pixels.
What can be done that table widths are not changed?
Then I copy table from Word back rveMemo.
Result:
It has become narrower (schmäler). Each table column width has been reduced by 4 pixels.
What can be done that table widths are not changed?
- Wed Mar 02, 2016 11:37 am
- Forum: Support
- Topic: press a line 2 spaces to the right (or left)
- Replies: 8
- Views: 21265
- Wed Mar 02, 2016 9:20 am
- Forum: Support
- Topic: press a line 2 spaces to the right (or left)
- Replies: 8
- Views: 21265
After I wrote a topic, I had the option to press button 'PREVIEW' or to press 'SUBMIT'). A few years ago I was able to change my text in the 'Preview', set font attributes etc. When I was satisfied, I submit the text. This is now not possible. When I click 'Preview', I only get the topics which are ...
- Tue Mar 01, 2016 5:49 pm
- Forum: Support
- Topic: press a line 2 spaces to the right (or left)
- Replies: 8
- Views: 21265
- Tue Mar 01, 2016 5:47 pm
- Forum: Support
- Topic: press a line 2 spaces to the right (or left)
- Replies: 8
- Views: 21265
- Tue Mar 01, 2016 5:03 pm
- Forum: Support
- Topic: press a line 2 spaces to the right (or left)
- Replies: 8
- Views: 21265
- Sun Feb 28, 2016 3:56 pm
- Forum: Support
- Topic: press a line 2 spaces to the right (or left)
- Replies: 8
- Views: 21265
press a line 2 spaces to the right (or left)
In Delphi editor I find it quite pleasant to press the (highlighted) line 2 spaces to the right (Ctrl+k i ) and 2 spaces to the left (Ctrl+k u). I have both implemented for TRichViewEdit about ctrl+spacebar and shift+spacebar. When I move the (unmarked) line 2 places to the left (cursor stands at th...
- Mon Aug 03, 2015 7:27 am
- Forum: Support
- Topic: prevent that only the 1st character in a cell is a number
- Replies: 9
- Views: 26218
- Sun Aug 02, 2015 10:22 am
- Forum: Support
- Topic: prevent that only the 1st character in a cell is a number
- Replies: 9
- Views: 26218
Because I found no help, I tried some ideas. Only with procedure TForm1.memoKeyDown(...) I found a solution: procedure TForm1.memoKeyDown(...) var ... begin ... if memo.InplaceEditor<>nil then begin rveTable.GetEditedCell(rveTzeile1,rveTspalte1); if (rveTspalte1=0) and (key>47) and (key<58) then beg...
- Sat Aug 01, 2015 4:25 pm
- Forum: Support
- Topic: prevent that only the 1st character in a cell is a number
- Replies: 9
- Views: 26218
Thank you for your answere. I understand the difference between memoKeyDown and memoKeyPress. But that is not my problem . I want that a number cannot stand as first character in a cell while I press 1 (a number). 1. Es ... (wrong). but as x. character: Es waren 2 Versuche. (correct) I think if I kn...
- Sat Aug 01, 2015 3:15 pm
- Forum: Support
- Topic: prevent that only the 1st character in a cell is a number
- Replies: 9
- Views: 26218
- Sat Aug 01, 2015 2:55 pm
- Forum: Support
- Topic: prevent that only the 1st character in a cell is a number
- Replies: 9
- Views: 26218
- Sat Aug 01, 2015 9:45 am
- Forum: Support
- Topic: prevent that only the 1st character in a cell is a number
- Replies: 9
- Views: 26218
prevent that only the 1st character in a cell is a number
Hello, at the input (memoKeyDown) of a text I want to prevent that only the 1st character in the cell is a number. Example: 1. Es ... (wrong) Es steht 1 Baum im Wald (correct) procedure TForm1.memoKeyDown(Sender: TObject; var Key: Word; Shift: TShiftState); var r,c,cs,rs, v,ItemNo,Offs,StyleNo,ParaN...
- Sat Apr 18, 2015 5:04 pm
- Forum: Support
- Topic: How many pageBreaks in memo ?
- Replies: 2
- Views: 11510
Re: How many pageBreaks in memo ?
I think I have found a solution:
procedure TForm1.btnTest1Click(Sender: TObject);
var i,j: Integer;
begin
j:= 0;
for i:= 0 to memo.ItemCount-1 do
if memo.PageBreaksBeforeItems then inc(j);
if j>0 then ShowMessage('Es liegen '+intToStr(j)+' Seitenumbrüche vor');
end;
procedure TForm1.btnTest1Click(Sender: TObject);
var i,j: Integer;
begin
j:= 0;
for i:= 0 to memo.ItemCount-1 do
if memo.PageBreaksBeforeItems then inc(j);
if j>0 then ShowMessage('Es liegen '+intToStr(j)+' Seitenumbrüche vor');
end;