Sign in to follow this  
Followers 0
k3v

FileSelectFolder dialog

1 post in this topic

#1 ·  Posted (edited)

Given the following example, if you click "Cancel", then $var will be equal to "". I would have expected $var to remain unchanged.

How can I determine whether the Cancel button was pressed?

$var = "C:\test"
$var = FileSelectFolder("Choose a folder.", "");Press Cancel
MsgBox(0,"",$var)

Thanks

[Edit]... (my fault... didn't read enough... disregard) [/Edit]

Edited by k3v

Share this post


Link to post
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0