题目内容:
(1)在窗体上添加适当的控件并编写适当的程序代码,要求程序运行时,双击窗口,可以弹出"颜色"对话框。程序运行时的窗体界面如图26-1所示。


图26-1
注意:保存时必须存放在考生文件夹下,窗体文件名为sj1.frm,工程文件名为sj1.vbp。
(2)在窗体上画出3个文本框,名称分别为Text1、Text2和Text3,分别为"Text1"、"Text2"和"Text3"。要求程序运行的时候,焦点位于Text1,当按Tab键时,焦点从Text1越过Text2直接跳到Text3上。本题不得使用任何变量。程序运行时的窗体界面如图26-2所示。

图26-2
注意:保存时必须存放在考生文件夹下,窗体文件名为sj2.frm,工程文件名为sj2.vbp。
参考答案:
答案解析: