[单选题]

假定一个表单里有一个文本框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

参考答案与解析:

相关试题

假定一个表单里有一个文本框Text l和一个命令按钮组CommandGroup1

[单选题]假定一个表单里有一个文本框Text l和一个命令按钮组CommandGroup1。命令按钮组是一个容器对象,其中包含Command1和Command2两个命令按钮。如果要在Command1命令按钮的某个方法中访问文本框的Value属性值,正确的表达式是( )。A.This.ThisForm.Text1.alueB.This.Parent.Parent.Text1.ValueC.Parent.Parent.Text1.ValueD.This.Parent.Text1.Value

  • 查看答案
  • 假定一个表单里有一个文本框Text1和一个命令按钮组CommandGroup1,

    [单选题]假定一个表单里有一个文本框Text1和一个命令按钮组CommandGroup1,命令按钮组是一个容器对象,其中包含Command1和Command2两个命令按钮。如果要在Command1命令按钮的某个方法中访问文本框的Value属性值,下面哪个式子是正确的?A.ThisForm.Text1.ValueB.This.Parent.ValueC.Parent.Text1.ValueD.This.Parent.Text1.Value

  • 查看答案
  • 假定一个表单里有一个文本框Text1和一个命令按钮组CommandGroup1。

    [单选题]假定一个表单里有一个文本框Text1和一个命令按钮组CommandGroup1。命令按钮组是一个容器对象,其中包含Command1和Command2两个命令按钮。如果要在Command1命令按钮的某个方法中访问文本框的Value属性值,正确的表达式是( )。A. This.This Form.Text1.ValueB. This.Parent.Parent.Text1.ValueC. Parent.Parent.Text1.ValueD. This.Parent.Text1.Value

  • 查看答案
  • 假定一个表单里有一个文本框Text1和一个命令按钮组CommandGroup1。

    [单选题]假定一个表单里有一个文本框Text1和一个命令按钮组CommandGroup1。命令按钮组是一个容器对象,其中包含Command1和Command2两个命令按钮。如果要在Command1命令按钮的某个方法中访问文本框的Value属性值,正确的表达式是( )。A.)This.ThisForm.Text1.ValueB.)This.Parent.Parent.Text1.ValueC.)Parent.Parent.Text1.ValueD.)This.Parent.Text1.Value

  • 查看答案
  • 假定一个表单里有一个文本框Text1和一个命令按钮组CommandGroup1,

    [单选题]假定一个表单里有一个文本框Text1和一个命令按钮组CommandGroup1,命令按钮组是 一个容器对象,其中包含Command1和Command2两个命令按钮,如果要在Command1命令按钮的某个方法中访问文本框Value属性值,下面哪个式子是正确的?A.This.Thisform.Text1.ValueB.This.Parent.Parent.Text1.ValueC.Parent.Parent.Text1.ValueD.This.Parent.Text1.Value

  • 查看答案
  • ( 29 )假定一个表单里有一个文本框 Text1 和一个命令按钮组 Comma

    [单选题]( 29 )假定一个表单里有一个文本框 Text1 和一个命令按钮组 CommandGroup1 。命令按钮组是一个容器对象,其中包含 Command1 和 Command2 两个命令按钮。如果要在 Command1 命令按钮的某个方法中访问文本框的 Value 属性值,正确的表达式是A. ) T his.ThisForm.Text1.ValueB. ) This.Parent.Parent.Text1.ValueC. ) Parent.Parent.Text1.ValueD. ) This.P

  • 查看答案
  • 假定一个表单里有一个文本框Text l和一个命令按钮组Command Group

    [单选题]假定一个表单里有一个文本框Text l和一个命令按钮组Command Group1,命令按钮组是一个容器对象,其中包含Commandl和Command2两个命令按钮。如果要在Commandl命令按钮的某个方法中访问文本框的Value属性值,下面哪组代码是正确的?A)This Form .Text l .Value B)This .Parent .ValueC)Parent .Text .Value D)this .Parent .Text .Value

  • 查看答案
  • 假设在一个表单里有一个文本框Text1和一个命令按钮组CommandGroup1。命令按钮组是一个容器对象,其中包含command1和command2两个命令按钮。如果要在command1命令按钮的某

    [单选题]假设在一个表单里有一个文本框Text1和一个命令按钮组CommandGroup1。命令按钮组是一个容器对象,其中包含command1和command2

  • 查看答案
  • ( 31 )在窗体上有一个命令按钮 Commandl 和一个文本框 Textl

    [单选题]( 31 )在窗体上有一个命令按钮 Commandl 和一个文本框 Textl ,编写事件代码如下:Private Sub Command1_Click()D.im i,j,xF.or i = 1 To 20 step 2x = 0F.or j = To 20 step 3x = x + 1Next jNext iTextl.Value=Str(x)E.nd Sub打开窗体运行后,单击命令按钮,文本框中显示的结果是A. ) 1B. ) 7C. ) 17D. ) 400

  • 查看答案
  • 假定一个表单里有一个文本框Text1和一个命令按钮组Command Group1。命令按钮组是一个容器对象,其中包含Command1和Command2两个命令按钮。如果要在Command1命令按钮的某

    [单选题]假定一个表单里有一个文本框Text1和一个命令按钮组Command Group1。命令按钮组是一个容器对象,其中包含Command1和Command2

  • 查看答案
  • 假定一个表单里有一个文本框Textl和一个命令按钮组CommandGroup1,