![](https://static.youtibao.com/asksite/comm/h5/images/m_q_title.png)
假定一个表单里有一个文本框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
![](https://static.youtibao.com/asksite/comm/h5/images/solist_ts.png)
A.This.ThisForm.Text1.Value
B.This.Parent.Parent.Text1.Value
C.Parent.Parent.Text1.Value
D.This.Parent.Text1.Value
A.5
B.8
C.9
D.10
A.命令按钮组
B.第二个命令按钮
C.表单
D.所有命令按钮
窗体中有一个名为Command1的命令按钮和一个名为Text1的文本框,事件代码如下: Private Sub Command1_Click Dim a(10)As Integer,b(10)As Integer n=3 For i=1 T0 5 a(i)=i b(n)=2*n+i Next i Me!Text1=a(n)+b(n) End Sub 打开窗体,单击命令按钮,文本框Text1中显示的内容是()。
A.13
B.14
C.15
D.16
A.12
B.13
C.14
D.15
A.15和1
B.27和3
C.195和3
D.600和4
A.444
B.321123
C.123321
D.132231
A.Private Sub Command1_Click()
Text1.Left=100
End Sub
B.Private Sub Command1_Click()
Text1.Left= Text1.Left-100
End Sub
C.Private Sub Command1_Click()
Text1.Move.Text.Left+100
End Sub
D.Private Sub Command1_Click()
Text1.Move.Text.Left
End Sub
A.“插入”选项卡——“图片”命令按钮
B.“插入”选项卡——“形状“命令按钮
C.“开始”选项卡——“更改样式”按钮
D.“插入”选项卡——“文本框”命令按钮