單項選擇題

假定一個表單里有一個文本框Textl和一個命令按鈕組Command Groupl,命令按鈕組是一個容器對象,其中包含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

微信掃碼免費搜題