首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
在运行阶段,要在文本框Text1获得焦点时选中文本框中所有内容,对应的事件过程是
在运行阶段,要在文本框Text1获得焦点时选中文本框中所有内容,对应的事件过程是
admin
2012-03-22
29
问题
在运行阶段,要在文本框Text1获得焦点时选中文本框中所有内容,对应的事件过程是
选项
A、Private Sub Text1_GotFocus() Text1.SelStart=0 Text1.SelLength=Len(Text1.Text) End Sub
B、Private Sub Text1_LostFocus() Text1.SelStart=0 Text1.SelLength=Len(Text1.Text) End Sub
C、Private Sub Text1_Change() Text1.SelStart=0 Text1.SelLength=Len(Text1.Text) End Sub
D、Private Sub Text1_SetFocus() Text.SelStart=0 Text1.SelLength=Len(Text1.Text) End Sub
答案
A
解析
转载请注明原文地址:https://kaotiyun.com/show/VGhp777K
本试题收录于:
二级VB题库NCRE全国计算机二级分类
0
二级VB
NCRE全国计算机二级
相关试题推荐
阅读下面一个支持多线程并发操作的堆栈类代码publicclassMyStack{ privateintidx=0; privateint[]data=newint[8]; public______Void
在窗体上画一个名称为Command1的命令按钮,然后编写如下程序:OptionBase1PrivateSubCommand1_Click()Dima(10)AsIntegerFori=1To10a(i)=iNext
在窗体上画一个名称为Text1的文本框,一个名称为Command1的命令按钮,然后编写如下事件过程和通用过程: PrivateSubCommand1_Click() n=Val(Text1.Text) Ifn\2=n/2Then
一个工程中含有窗体Form1、Form2和标准模块Model1,如果在Form1中有语句PubilcXAsInteger,在Model1中有语句PubilcYAsInteger,则以下叙述中正确的是
下面说法不正确的是
下列数据模型中,具有坚实理论基础的是
一个类可以从直接或间接的祖先中继承所有属性和方法。采用这个方法提高了软件的【】。
一个工程必须包含的文件的类型是
表达式(7\2+1)*(8\2+2)的值为
窗体上有一个名称为Listl的列表框,列表框中有若干数据项,列表框Style属性为l;有一个名称为Label2的标签:还有一个名称为Commandl,Caption属性为“计算”的命令按钮(见图)。运行程序,在列表框中选中某些数据项后,单击命令按钮,则可以
随机试题
栀子具有的功效是
浓度均为0.1mol.L-1的:NH4Cl、NaCl、NaOAc、Na3PO4溶液中,其pH值由小到大顺序正确的是()。
下列各项属于结账内容的有()。
Thegeneralformsoftradebarriershave()
下列关于与专家达成一致意见的说法中,不正确的是()。
米格-25效应:苏联研制的米格-25喷气式战斗机的许多零部件与美国的相比都落后,但因设计者考虑了整体性能,故能在升降、速度、应急反应等方面成为当时世界一流。即所谓最佳整体,乃是个体的最佳组合。下列哪一项属于米格-25效应?
学习的经典条件作用说的提出者是()
下面关于嵌入式处理芯片生产厂商的叙述中,错误的是()。
IntroductoryLecturetoUniversityStudyInordertoadjustwelltouniversitylife,freshmenusuallyhavetounderstandtheorg
Oftenenoughour______beforehandinanuncertifiedresultistheonlythingthatmakestheresultcometrue.
最新回复
(
0
)