简答题:(1)在名称为Forml的窗体上添加一个名称为L1的标签,标签上标题为“请输入密码”,添加一个名称为Textl的文本框,

  • 题目分类:VB
  • 题目类型:简答题
  • 查看权限:VIP
题目内容:
(1)在名称为Forml的窗体上添加一个名称为L1的标签,标签上标题为“请输入密码”,添加一个名称为Textl的文本框,其宽、高分别为2000和300,设置适当的属性,使得在输入密码时,文本框中显示为“*”字符,此外再把窗体的标题设置为“密码窗口”,以上这些设置都必须在属性窗口中进行,程序运行时的窗体如图所示。
注意:存盘时必须存放在考生文件夹下,工程文件名保存为sjtl.vbp,窗体文件名保存为sjtl.frm。

(2)在名称为Forml的窗体上添加一个名称为Pl的图片框,请编写适当的事件过程,使得程序在运行时,每单击一次图片框,就在图片框中输出“单击图片框”,每单击图片框外的窗体一次,就在窗体中输出“单击窗体”,运行时的窗体如图所示。要求在程序中不得使用变量,每个事件过程中只能写一条语句。
注意:存盘时必须存放在考生文件夹下,工程文件名保存为sjt2.vbp,窗体文件名保存为sjt2.frm。
参考答案:
答案解析:

根据下面对话,回答题。Dialogue OneSpeaker A: I like watching old movies

根据下面对话,回答题。Dialogue OneSpeaker A: I like watching old movies and I think they

查看答案

Directions: There are 10 blanks in the following passage.For

Directions: There are 10 blanks in the following passage.For each numbered blank

查看答案

What lesson has Reebok learned from Nike's distribution prob

What lesson has Reebok learned from Nike's distribution problems? A.A company sh

查看答案

The author’s attitude towards the speaker’s remarks is___.

The author’s attitude towards the speaker’s remarks is___.A.neutral B.positive C

查看答案

Living in the western part of the country has its problems,

Living in the western part of the country has its problems, _______ obtaining fr

查看答案