13448.html

来自「VB技巧问答10000例 VB技巧问答10000例」· HTML 代码 · 共 23 行

HTML
23
字号
<html>
  <head>
    <title>用 sub calss</title>
  </head>
  <body bgcolor="#FFFFFF" vlink="#808080">
    <center>
      <h1>用 sub calss</h1>
    </center>
<hr size=7 width=75%>

<hr size=7 width=75%><p>
Posted by <a href="mailto:sephiroth@optimasoft.com.tw">Sephiroth</a> on May 27, 1999 at 09:34:58:<p>
In Reply to: <a href="13439.html">LKK's Question !!!  About Command Buttom</a> posted by Allen Lee on May 26, 1999 at 23:11:43:<p>
sub class Command Button 并将其设定成 BS_OWNERDRAW, 但是这方法并不好.<br>根本解决的办法是自己写一个 Button control, 这样你爱怎么设都行, 用 VB写应该蛮简单的,<br>如果你决定用 VB写的话, 我的建议是不要再包装任何的 control 在 user control 内,<br>因为如果你直接包装 VB的 command button, 不仅得不到我们想要的效果, 而且 click 二下<br>button 时, 它才会陷下去一次, 奇怪吧!<p>
<br>
<br><hr size=7 width=75%><p>
<a name="followups">Follow Ups:</a><br>
<ul><!--insert: 13448-->
</ul><!--end: 13448-->
<br><hr size=7 width=75%><p>

</body></html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?