Search found 176 matches

by j&b
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...
by j&b
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?
by j&b
Wed Mar 02, 2016 11:37 am
Forum: Support
Topic: press a line 2 spaces to the right (or left)
Replies: 8
Views: 21265

Hallo Sergey You are right. Sorry. ALL OK. &nbsp &#160 :roll: I searched the preview under the buttons 'Preview' and 'Submit' How can I press the emoticon 2 (or more spaces to right - i know &nbsp or &#160. But these shortcuts doesn't work). I tested this text with Chrome and Intern...
by j&b
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 ...
by j&b
Tue Mar 01, 2016 5:49 pm
Forum: Support
Topic: press a line 2 spaces to the right (or left)
Replies: 8
Views: 21265

j&b wrote:Thank you for your hint.


Why can't I see this text in the topic review if I click 'Preview'.
How can I see if changed text (colors etc.) is correct ?
xxxx
by j&b
Tue Mar 01, 2016 5:47 pm
Forum: Support
Topic: press a line 2 spaces to the right (or left)
Replies: 8
Views: 21265

Thank you for your hint.


Why can't I see this text in the topic review if I click 'Preview'.
How can I see if changed text (colors etc.) is correct ?
by j&b
Tue Mar 01, 2016 5:03 pm
Forum: Support
Topic: press a line 2 spaces to the right (or left)
Replies: 8
Views: 21265

No one an idea how how to prevent the insertion of a space (in memo.keyUp) ?


Hello Sergey,

if I click 'Preview' in Editor for this post, I can't find a preview where I can change text
by j&b
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...
by j&b
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

Thank you for your answere.

Your function refers to the memo, not to a rveZell.

It would be nice if function can tell the position of caret (cursor) in a cell.
by j&b
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...
by j&b
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...
by j&b
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

... and (position>1) and ... is wrong.

It should say: ... and (position=1) and ...

if (rveTspalte1=0) and (position=1) and (key>47) and (key<58) then begin[/b]
by j&b
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

Image

Image[/img]
by j&b
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...
by j&b
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;