摘要
利用VB进行程序设计时,离不开向窗体中添加必要的对象、控件或部件等。然而,一个VB窗体单元能容纳多少个控件,作为容器的窗体单元其容量是有限制的。就开发VB程序过程中向窗体加入控件时所遇到的数量限制的问题进行探讨,得出结论:一个窗体单元能容纳独立的控件的数量最多为254个。并对设计中遇到的控件数受限的情况,采用较为普通的、常用的技术和方法进行处理,提出了几项措施来解决添加控件受到数量限制的问题。
When programming using VB,it is inevitable to add necessary objects,controls and components to a form.However,how many controls a VB form unit can accommodate,the formunit,as a container,has limitation in its capacity.In this article the problem of number limitation in controls added to the form during the process of VB program development is discussed,and the conclusion is obtained: i.e.the largest capacity of independent controls a form unit can accommodate is 254.For the problem of number limitation of the controls encountered in designing,usual and commonly used techniques and means are adopted to deal with.Moreover,a couple of measurements are proposed to resolve the problem of number constraints in adding the controls.
出处
《计算机应用与软件》
CSCD
2011年第12期295-297,共3页
Computer Applications and Software
关键词
控件限量
对策
复用技术
组件技术
Number limited in controls Countermeasure Reuse technology Component technology