首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
在窗体上画两个文本框和一个命令按钮,然后在命令按钮的代码窗口中编写如下事件过程: Private Sub Commandl_Click() Text1="VB programming" Text2=Text1 Text1="ABCD" End Sub 程序
在窗体上画两个文本框和一个命令按钮,然后在命令按钮的代码窗口中编写如下事件过程: Private Sub Commandl_Click() Text1="VB programming" Text2=Text1 Text1="ABCD" End Sub 程序
admin
2013-03-30
29
问题
在窗体上画两个文本框和一个命令按钮,然后在命令按钮的代码窗口中编写如下事件过程:
Private Sub Commandl_Click()
Text1="VB programming"
Text2=Text1
Text1="ABCD"
End Sub
程序运行后,单击命令按钮,文本框Text2中显示的内容为【 】。
选项
答案
VB programming
解析
本段程序是先把“VB programming”赋给Text1,然后在把Text1的内容赋给Text2,最后把“ABCD”赋给Text1。所以最后Text1中的内容是“ABCD”,而Text2中的内容是“VB programming”。
转载请注明原文地址:https://kaotiyun.com/show/Torp777K
本试题收录于:
二级Access题库NCRE全国计算机二级分类
0
二级Access
NCRE全国计算机二级
相关试题推荐
软件工程的出现是由于
设有如下程序:PrivateSubCommand1_Click()DimsumAsDouble,xAsDoublesum=0n=0Fori
某窗体中有一命令按钮,在窗体视图中单击此命令按钮打开另一个窗体,需要执行的宏操作是()。
假定w、x、y、z、m均为int型变量,有如下程序段:w=1;x=2;y=3;z=4;m=(w<x)?w:x;m=(m<y)?m:y;m=(m<z)?m:z;运行程序后,m的结果是【】。
在结构化分析使用的数据流图(DFD)中,利用【】对其中的图形元素进行确切解释。
在VBA中,如果没有显式声明或用符号来定义变量的数据类型,变量的默认数据类型为()。
在Access表中,可以定义3种主关键字,它们是()。
软件维护活动包括以下几类:改正性维护、适应性维护、【】维护和预防性维护。
下列关于数据访问页中Office电子表格的叙述中,错误的是()。
在二维表中,元组的()不能再分成更小的数据项。
随机试题
消费者的储蓄行为
临床鉴别肝性与心包疾患所引起的腹水,下列哪项最有诊断价值()(1990年)
在流动人口较多的地区,降低麻疹发病率的关键措施是
天南星的功效是()
患者,女,36岁。诊为"甲状腺",症见项下不适,可摸到肿块,伴心烦,口于,舌质红,苔黄厚,脉滑。宜首选药
某外商拟在某地投资建设一项目,有多个场址方案可供选择。该项目属于《政府核准的投资项目目录》范围,但可能对环境造成轻度影响。因项目前期工作的需要,该外商采用公开招标方式选聘咨询单位,经过资格预审,有A、B、C、D、E五家咨询单位进入短名单。招投标和咨询工作中
经返工重做或更换器具、设备的检验批,应()。
关于投资后管理的作用,下列表述错误的是()。
(2014年真题)在陌生情境实验中,妈妈在婴儿身边时,婴儿一般就能安心地玩玩具,对陌生人的反应也比较积极,婴儿对妈妈的这种依恋类型属于()。
TheScienceofPersuasionIfleadershipconsistsofgettingthingsdonethroughothers,thenpersuasionisoneoftheleader
最新回复
(
0
)