單項選擇題

在窗體上放置了DriveListBox、DirListBox和FileListBox等三個控件,下面()語句一定不會改變相應(yīng)控件的Path或Drive屬性。

A.File1.FileName="a:\*.*"
B.Drive1.ListIndex=2
C.File1.Path=Drive1.Drive
D.Dir1.ListIndex=-2

微信掃碼免費搜題