首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
在窗体上画两个文本框和一个命令按钮,然后在命令按钮的代码窗口中编写如下事件过程: Private Sub Command1_Click() Text 1="VB programming" Text 2=Text 1
在窗体上画两个文本框和一个命令按钮,然后在命令按钮的代码窗口中编写如下事件过程: Private Sub Command1_Click() Text 1="VB programming" Text 2=Text 1
admin
2010-03-22
26
问题
在窗体上画两个文本框和一个命令按钮,然后在命令按钮的代码窗口中编写如下事件过程:
Private Sub Command1_Click()
Text 1="VB programming"
Text 2=Text 1
Text 1="ABCD"
End Sub
程序运行后,单击命令按钮,文本框Text 2中显示的内容为【 】。
选项
答案
VB programming
解析
本段程序是先把“VB programming”赋给Text 1,然后在把Text 1的内容赋给Text 2,最后把“ABCD”赋给Text 1。所以最后Text 1中的内容是“ABCD”,而Text 2中的内容是“VB programming”。
转载请注明原文地址:https://jikaoti.com/ti/y7P0FFFM
本试题收录于:
二级Access题库NCRE全国计算机二级分类
0
二级Access
NCRE全国计算机二级
相关试题推荐
有如下程序:#include<iostream>usingnamespacestd;classBase{public:voidfunl(){cout<<”Base\n”;}vi
有如下类定义:classTV{public:TV(intS=41,stringbr="TCL"):size(s),brand(br){}~TV(){}private:intsize;
将前缀运算符"--"重载为非成员函数,下列原型中能正确用于类中说明的是()。
若有如下程序段:#includeusingnamespacestd;intmain(){‘char*p="abcdefgh",*r;r=p;cout
在软件开发中,需求分析阶段产生的主要文档是( )。
在函数中,可以用auto、extern、register和static这四个关键字中的一个来说明变量的存储类型,如果不说明存储类型,则默认的存储类型是()。
算法的空间复杂度是指()。
根据“职工”项目文件生成emp_sys.exe应用程序的命令是
视图设计一般有3种设计次序,下列不属于视图设计的是______。
在宏的表达式中引用报表控件的值可以用表达式______。
随机试题
正常的门静脉压力为
有助于血友病A诊断及分型的检查是
下列关于五脏与血液关系的叙述,错误的是( )。
男婴,4个月,人工喂养,未添加辅食,2天来轻咳、流涕,伴低热。今晨抽搐4次,每次持续约2min,缓解后玩耍如常。为确诊最有价值的辅助检查是
有一宗三角形的土地需要进行估价,其临街路线价(土地单价)为2000元/m2,如果该宗地临街深度为75英尺,临街宽度为50英尺,那么该宗三角形土地的价格为()万元。 矩形
GB/T19000-IS09000(2000版)质量管理体系标准中的质量管理原则包括()。
按通货膨胀的成因划分,通货膨胀可以分为()。
委托代理终止的情形包括()。
()是指在体育教学中必须要体现体育教学的本质特点,使学生身体所承受的运动负荷有效、合理,满足学生锻炼身体和掌握运动技能的需要。
__________________(任何干涉别国内政的国家)shouldbeuniversallycondemned.
最新回复
(
0
)