[单选题]

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

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

  • 查看答案
  • 假定一个表单里有一个文本框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

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

    [单选题]假定一个表单里有一个文本框Textl和一个命令按钮组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

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

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

  • 查看答案
  • 假定一个表单里有一个文本框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和Command1、Command2两个命令

    [单选题]假定一个表单里有一个文本框Text1和Command1、Command2两个命令按钮,如果要在Command1命令按钮的某个方法中访问文本框的Value属性值,下面______式子是正确的是A.This.ThisForm.Text1.ValueB.ThisForm.Text1.ValueC.Parent.Parent.Text1.ValueD.This.parent.Text1.Value

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

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

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