15545.html
来自「VB技巧问答10000例,是一个教程」· HTML 代码 · 共 23 行
HTML
23 行
<html>
<head>
<title>Re: 这种公用变数该如何读取?</title>
</head>
<body bgcolor="#FFFFFF" vlink="#808080">
<center>
<h1>Re: 这种公用变数该如何读取?</h1>
</center>
<hr size=7 width=75%>
<hr size=7 width=75%><p>
Posted by <a href="mailto:albertcfchen@gvc.com">四眼蟾蜍</a> on July 12, 1999 at 19:57:59:<p>
In Reply to: <a href="15108.html">这种公用变数该如何读取?</a> posted by 新人 on July 02, 1999 at 14:45:55:<p>
让你久等了!!<br>VB 小技巧大秘密:在你的Form1程式中使用Property<p>程式 Sample:<p>Dim mvarWONo As String '工单单号<p>Public Property Get WoNo() As String<br> WoNo = mvarWONo<br>End Property<p>Public Property Let WoNo(ByVal vNewValue As String)<p> mvarWONo = vNewValue<br> Text1.Text = vNewValue<p> End If<br>End Property<p>程式执行 Sample:<br>Form1.WoNo = "A98011103"<br>
<br>
<br><hr size=7 width=75%><p>
<a name="followups">Follow Ups:</a><br>
<ul><!--insert: 15545-->
</ul><!--end: 15545-->
<br><hr size=7 width=75%><p>
</body></html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?