首页
/
每日頭條
/
科技
/
vb邊界标識條的作用
vb邊界标識條的作用
更新时间:2024-05-02 08:52:38

vb邊界标識條的作用?要使得文件列表框File1中隻顯示文件擴展名jpg的圖片文件,則下列正确的語句是,我來為大家科普一下關于vb邊界标識條的作用?下面希望有你要的答案,我們一起來看看吧!

vb邊界标識條的作用(v226.VB考點解析之文件列表框pattern屬性)1

vb邊界标識條的作用

要使得文件列表框File1中隻顯示文件擴展名jpg的圖片文件,則下列正确的語句是

A.File1.Pattern="*.jpg"

B.File1.Parent="*.jpg"

C.File1.Path="*.jpg"

D.File1.Pattern="*圖片文件|.jpg"

【解析】Pattern屬性用來指定在文件列表框中顯示文件的類型;Parent屬性可訪問一個對象的父親的屬性,方法,或控件;Path屬性用來指定和返回當前目錄。

故此,正确答案是:A

,
Comments
Welcome to tft每日頭條 comments! Please keep conversations courteous and on-topic. To fosterproductive and respectful conversations, you may see comments from our Community Managers.
Sign up to post
Sort by
Show More Comments
Copyright 2023-2024 - www.tftnews.com All Rights Reserved