9733.html
来自「以电子书的形式收集了VB一些常见问题解决方法,可以很方便的查找自己需要解决的问题」· HTML 代码 · 共 27 行
HTML
27 行
<html>
<head>
<title>1st Question</title>
</head>
<body bgcolor="#FFFFFF" vlink="#808080">
<center>
<h1>1st Question</h1>
</center>
<hr size=7 width=75%>
<hr size=7 width=75%><p>
Posted by <a href="mailto:ml.peng@wsmc.com.tw">帅帅阿柳</a> on February 01, 1999 at 13:05:45:<p>
In Reply to: <a href="9604.html">How to dynamically load controls(e.g. labels) in Run time? etc.</a> posted by wei on January 27, 1999 at 14:28:15:<p>
If you use VB 5.0, the only way is inserting a invisible control with index equal 0. As you need such a control, just use Load objName(n) to add in run-time.<br>On the other hand, VB 6.0 support Controls.Add function thus you can dynamically load controls either they are not pre-loaded in design-time. It's a long story to explan how to implment this mechanism. You can refer to MSDN's document. (But you will find it is lack of many important info...). Well, try it first. If you still occur problems, just mail me. We can talk about them.
<br>
<br><hr size=7 width=75%><p>
<a name="followups">Follow Ups:</a><br>
<ul><!--insert: 9733-->
<!--top: 9757--><li><a href="9757.html">Thank you!</a> <b>wei</b> <i>03:48:26 2/02/99</i>
(<!--responses: 9757-->0)
<ul><!--insert: 9757-->
</ul><!--end: 9757-->
</ul><!--end: 9733-->
<br><hr size=7 width=75%><p>
</body></html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?