📄 8528.html
字号:
<html>
<head>
<title>Re: 取得 RichTextBox 行数</title>
</head>
<body bgcolor="#FFFFFF" vlink="#808080">
<center>
<h1>Re: 取得 RichTextBox 行数</h1>
</center>
<hr size=7 width=75%>
<hr size=7 width=75%><p>
Posted by <a href="mailto:cww5@mail.ncku.edu.tw">cww</a> on December 22, 1998 at 21:33:48:<p>
In Reply to: <a href="8512.html">取得 RichTextBox 行数</a> posted by Rong on December 22, 1998 at 12:52:55:<p>
<br>查一下http://sunh.hosp.ncku.edu.tw/~cww<br>中textbox行数的文章,richtextbox也相同,只有改一些 <br>地方,底下方法即是<p>Public Function TextBoxLineCnt(ctl As Control) As Long<br>TextBoxLineCnt = SendMessage(ctl.hwnd, EM_GETLINECOUNT, 0, 0)<br>End Function<p><br>
<br>
<br><hr size=7 width=75%><p>
<a name="followups">Follow Ups:</a><br>
<ul><!--insert: 8528-->
</ul><!--end: 8528-->
<br><hr size=7 width=75%><p>
</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -