简答题:(1)在名称为Forml的窗体上添加两个名称分别为Textl和Text2的文本框,它们的高、宽分别为300、2400和1

  • 题目分类:VB
  • 题目类型:简答题
  • 号外号外:注册会员即送体验阅读点!
题目内容:
(1)在名称为Forml的窗体上添加两个名称分别为Textl和Text2的文本框,它们的高、宽分别为300、2400和1200、2400。窗体的标题为“窗口”。请通过属性窗口设置适当的属性,满足如下要求:
@Text2可以显示多行文本,并且有垂直和水平两个滚动条;
②程序运行时在Textl中显示输入的字符为“*”。
程序运行后的窗体如图所示。

注意:存盘时必须存放在考生文件夹下,工程文件名保存为sjtl.vbp,窗体文件名保存为sjtl.frm。
(2)在名称为Forml的窗体上添加一个名称为Imagel的图像框,其高、宽分别为1900、1700,通过属性窗口把考生文件夹下的图像文件picl.bmp载入图像框;再匦两个命令按钮控件,名称分别为C1、C2,标题分别为“放大”、“缩小”,如图所示。
要求:
①请编写适当的事件过程,程序运行后,如果单击“放大”按钮,则将图像框的高度、宽度均增加100;单击“缩小”按钮,则将图像框的高度、宽度均减少100,要求程序中不得使用任何变量。
②通过属性窗口设置图像框的适当属性,使得在放大、缩小图像框时,其中的图像也自动放大、缩小。注意:存盘时必须存放在考生文件夹下,工程文件名保存为sit2.vbp,窗体文件名保存为sit2.frm。
参考答案:
答案解析:

第2题________

第2题________A.I like a good story. B.They still make movies like that. C.People t

查看答案

Everybody _______ in the hall where they were welcomed by th

Everybody _______ in the hall where they were welcomed by the secretary. A.assem

查看答案

The growth of part-time and flexible working patterns, and o

The growth of part-time and flexible working patterns, and of training and retra

查看答案

A: Jack can’t stay out with his friends now that school has

A: Jack can’t stay out with his friends now that school has started. B: _______

查看答案

请回答(8)题

请回答(8)题A.cause B.motive C.outcome D.result

查看答案