CodePudding user response:
Memo1. Lines. The CountCodePudding user response:
Total number of rowsMemo1. Lines. The Count
Line cursor
I:=SendMessage (memo1. Handle, EM_LINEFROMCHAR, memo1 SelStart, 0).
Cursor lines
Memo1. Lines. Strings [I]
More simple method
I:=Memo1. CaretPos. Y;
Memo1. Lines. Strings [I];
CodePudding user response:
Memo1. Lines. The CountCodePudding user response:
Ha ha, the two bosses have had said, the topCodePudding user response:
Agree with above all,,CodePudding user response:
To be late, let the upstairs saidCodePudding user response:
Agree with above allCodePudding user response:
Great god ~ ~ ~ ~CodePudding user response:
Kaikai_kkSpeak of rational
CodePudding user response:
The building Lord give points average.CodePudding user response:
Well said in detailCodePudding user response:
Also want to know what yao, building Lord, no post,,CodePudding user response:
Ha ha, the building brickCodePudding user response:
Accurate answer:Memo1. Lines. The Count
But note that memo the number of lines, one line more than the actual number of lines and automatically add a carriage return,
CodePudding user response:
Memo. Lines. The countCodePudding user response:
On the 14th floor lyhoo163