假定一个表单里有一个文本框Text1和一个命令按钮组CommandGroup1,命令按钮组是一个容器对象,其中包含Command

分类: 19信息竞赛自组题02 发布时间: 2023-12-01 12:13 浏览量: 0

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

正确答案是B