Print Page | Close Window

Multiple common dialogs

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=10929
Printed Date: 04 December 2024 at 1:47pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Multiple common dialogs
Posted By: tomurphy
Subject: Multiple common dialogs
Date Posted: 06 June 2008 at 12:53am
Hi All
 
Newbie here.
 
I am using the common dialog control to be able to select folders.  I've got it all working but I can open multiple dialogs.  Is there a way to only open one by disallowing access to the application until a folder is selected or the dialog cancelled.
 
The language I am using is Visual Dataflex 2008 on Vista Business.
 
Cheers
Tom



Replies:
Posted By: ijwelch
Date Posted: 06 June 2008 at 11:40pm
I think you didn't set the ParentHwnd property.


Posted By: tomurphy
Date Posted: 08 June 2008 at 9:46pm

Thanks for that, that was it. Though I tested it under VB, VDF doesn't seem to be exposing this method but that's there problem.



-------------
Cheers
Tom


Posted By: tomurphy
Date Posted: 08 June 2008 at 10:27pm
Went back to my VDF code and did find the ParentHwnd method and after setting that all works fine in VDF.
 
Cheers
Tom



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