关于drivelistbox,dirlistbox,filelistbox的使用
以上三个控件如何一起使用啊?
用于另存文件
问题点数:20、回复次数:4Top
1 楼xiaofengpangpang(小冯)回复于 2006-03-27 10:18:11 得分 5
呵呵Top
2 楼of123()回复于 2006-03-27 10:34:02 得分 5
建议你使用 CommonDialog,那三件兵器已经没有人使用了。Top
3 楼faysky2(出来混,迟早是要还嘀)回复于 2006-03-27 10:47:46 得分 5
同上
添加CommonDialog控件到常用工具栏:工程/部件/Microsoft/CommonDialog Control 6.0Top
4 楼of123()回复于 2006-03-27 11:11:34 得分 5
Private Sub DirList_Change()
' 更新文件列表框,使它与目录列表框保持同步。
filList.Path = dirList.Path
End Sub
Private Sub DirList_LostFocus()
dirList.Path = dirList.List(dirList.ListIndex)
End Sub
Private Sub DrvList_Change()
On Error GoTo DriveHandler
dirList.Path = drvList.Drive
Exit Sub
DriveHandler:
drvList.Drive = dirList.Path
Exit Sub
End Sub
Private Sub filList_Click()
Debug.Print filList.FileName
End Sub
Top
相关问题
- drivelistbox dirlistbox filelistbox 控件的用法请教
- Win95版的DriveListBox、DirListBox、FileListBox在哪儿?
- DirListBox,FileListBox,DriveListBox 三个控件如何连动 (40)
- filelistbox使用问题
- 我按照书上讲的用drivelistbox dirlistbox filelistbox三个控件来打开文件,作者讲commdialog可以代替,可我找不到这个控件!!
- FileListBox
- 用DriveListBox和DirListBox能显示网上邻居吗?(在线等待)
- 在vb.net中是不是没有DriveListBox和FileListBox,
- 请问DriveListBox和DirListBox是否不能用了?
- 怎样把Drivelistbox与Dirlistbox两个控件联起来??等待ing......




