赞题库-背景图
单项选择题

为了使一个窗体从内存中释放,应使用的语句为

A.Show
B.Hide
C.Unload
D.Load
<上一题 目录 下一题>
热门试题

单项选择题在窗体中添加一个列表框(ListBox1)和一个命令按钮,并编写如下代码:Private Sub Commandl_Click()Dim a, i, msgmsg= Choose OK to add 100 items to your listbox. MsgBox msgFor i=l To 100a= a: &iList1. Addltem aNext iEnd Sub程序完成的功能是 ____

A.本程序使用Addltem方法增加100项给一个列表框
B.本程序使用Addltem方法向一个列表框中添加100项,其内容是数字1~100
C.本程序使用Addltem方法向一个列表框中添加的内容是1~100的和
D.本程序使用Addhem方法增加100个列表框

单项选择题若在窗体模块的声明部分声明了如下自定义类型和数组:Private Type recCode As IntegerCaption As StringEnd TypeDim arr(5)As rec则下面的输出语句中正确的是______。

A.Print arr.Code(2),arr.Caption(2)
B.Print arr.Code,arr.Caption
C.Print arr(2).Code,arr(2).Caption
D.Print Code(2),Caption(2)