Print Page | Close Window

CommonDialog - Open

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Controls
Forum Description: Topics Related to Codejock Controls
URL: http://forum.codejock.com/forum_posts.asp?TID=14850
Printed Date: 23 November 2024 at 2:34am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CommonDialog - Open
Posted By: bfelknor
Subject: CommonDialog - Open
Date Posted: 28 July 2009 at 8:26pm
I want to create folder browser using the common dialog control.
 
It's pretty clear how to use the showbrowsefolder method, and I like being able to set an initial folder, but the dialog is not sizable and the navigation without the task bar (as is now common in windows explorer) is not nice.
 
So, I'm trying to figure out how to use the showopen method to do this.  I want to be able to set an initial folder, filter the lists to only drives and folders and return only a folder.
 
Is it possible ?
 
Also, there is no documentation on DialogStyle.  Is there an enumeration for this ?
 
Thanks.
 
Bruce


-------------
Bruce



Replies:
Posted By: Baldur
Date Posted: 19 August 2009 at 10:02am
The BrowserDialog is a common-control from windows. CJ give you still access.
The ShowOpen expect to select a file and not a directory. It's also a common-control in windows and can't be modified.
 
You must then build your own control to solve this.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net