|  | 
| Multiple common dialogs | 
| Post Reply   | 
| Author | |
| tomurphy   Groupie     Joined: 06 June 2008 Location: Australia Status: Offline Points: 21 |  Post Options  Thanks(0)  Quote  Reply  Topic: Multiple common dialogs 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 | |
|  | |
| ijwelch   Senior Member   Joined: 20 June 2006 Status: Offline Points: 262 |  Post Options  Thanks(0)  Quote  Reply  Posted: 06 June 2008 at 11:40pm | 
| 
   I think you didn't set the ParentHwnd property.
    | |
|  | |
| tomurphy   Groupie     Joined: 06 June 2008 Location: Australia Status: Offline Points: 21 |  Post Options  Thanks(0)  Quote  Reply  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 | |
|  | |
| tomurphy   Groupie     Joined: 06 June 2008 Location: Australia Status: Offline Points: 21 |  Post Options  Thanks(0)  Quote  Reply  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 | |
|  | |
| Post Reply   | |
| Tweet | 
| Forum Jump | Forum Permissions  You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |