更多"假定一个表单里有一个文本框Text1和一个命令按钮组CommandGr"的相关试题:
[单项选择]假定一个表单里有一个文本框Text1和一个命令按钮组CommandGroup1,命令按钮组是
一个容器对象,其中包含Command1和Command2两个命令按钮,如果要在Command1命令按钮的某个方法中访问文本框Value属性值,下面哪个式子是正确的
A. This.Thisform.Text1.Value
B. This.Parent.Parent.Text1.Value
C. Parent.Parent.Text1.Value
D. This.Parent.Text1.Value
[单项选择]假定一个表单里有一个文本框Text1和一个命令按钮组CommandGroup1,命令按钮组是一个容器对象,其中包含Command1和Command2两个命令按钮。如果要在Command1命令按钮的某个方法中访问文本框的Value属性值,下面式子正确的是( )。
A. ThisForm.Text1.Value
B. This.Parent.Value
C. Parent.Text1.Value
D. This.Parent.Text1.Value
[单项选择]假定一个表单里有一个文本框 Text1 和一个命令按钮组 CommandGroup1,命令按钮组是一个容器对象,其中包含 Command1 和 Command2 两个命令按钮,如果要在 Command1 命令按钮的某个方法中访问文本框 Value 属性值,下面哪个式子是正确的______。
A. This.Thisform.Text1.Value
B. This.Parent.Parent.Text1.Value
C. Parent.Parent.Text1.Value
D. This.Parent.Text1.Value
[单项选择]假定一个表单里有一个文本框Text1和一个命令按钮组CommandGroup1。命令按钮组是一一个容器对象,其中包含Command1和Command2两个命令按钮。如果要在Command1命令按钮的某个方法中访问文本框的Value属性值,正确的表达式是( )。
A. This.ThisForm.Text1.Value
B. This.Parent.Parent.Text1.Value
C. Parent.Parent.Text1.Value
D. This.Parent.Text1.Value
[单项选择]假设一个表单里有一个文本框Text1和一个命令按钮组CommandGroup1,命令按钮组中包含Command1和Command2;两个命令按钮。如果要在Command1命令按钮的某个方法中访问文本框的Value属性值,下列式子中,正确的是
A. ThisForm.Text1.Value
B. ThisForm.Parent.Value
C. Parent.Text1.Value
D. This.Parent.Text1.Value
[单项选择]假定一个表单里有一个文本框Text l和一个命令按钮组CommandGroup1。命令按钮组是一个容器对象,其中包含Command1和Command2两个命令按钮。如果要在Command1命令按钮的某个方法中访问文本框的Value属性值,正确的表达式是( )。
A. This.ThisForm.Text1.alue
B. This.Parent.Parent.Text1.Value
C. Parent.Parent.Text1.Value
D. This.Parent.Text1.Value
[单项选择]假定一个表单里有一个文本框Textl和一个命令按钮组CommandGroup1,命令按钮组是一个容器对象,其中包含Command1和Command2两个命令按钮,如果要在Command1命令按钮的某个方法中访问文本框Value属性值,下面______是正确的。
A. This.Thisform.Text1.Value
B. This.Parent.Parent.Text1.Value
C. Parent.Parent.Text1.Value
D. This.Parent.Text1.Value
[单项选择]假定一个表单里有一个文本框Text1和Command1、Command2两个命令按钮,如果要在 Command1命令按钮的某个方法中访问文本框的Value属性值,下面 ______ 式子是正确的
A. This.ThisForm.Text1.Value
B. ThisForm.Text1.Value
C. Parent.Parent.Text1.Value
D. This.parent.Text1.Value
[单项选择]设表单Form1上有一个命令按钮组CommandGroup1,命令按钮组中有两个命令按钮(分别:cmdl和cmd2)。若单击命令按钮Cmdl,可以将命令按钮Cmd2设置为废止状态,则在命令按Cmdl的Click事件中,应包含 ( )命令(或功能与之等价的命令)。
A. This.Parent.Cmd2.Enabled=.F.
B. ThisForm.Cmd2.Enabled=.F.
C. THis.CommandGroup1.cmd2.Enabled=.F.
D. THIS.Cmd2.Enabled=.F.
[单项选择]假定有一个文本框,其名称为Text1,为了使该文本框具有焦点,应执行的语句是______。
A. Change
B. OotFocus
C. SetFocus
D. LostFocus
[单项选择]假定窗体上有一个文本框,名为txt1,为了使该文本框的内容能够换行,并且具有垂直滚动条,没有水平滚动条正确的属性设置为
A. Txt1.MultiLine=True
B. Txt1.MuhiLine=True
C. Txt1.MuhiLine=False
D. Txt1.MuhiLine=False