potitpanda Posted January 8, 2008 Share Posted January 8, 2008 Hi I Want to edit some the events when i click on Cancel Button on a Dialogbox created with FileOpenDialog So If cancel is clicked... Make this... End IF Is it possible and how to ? Link to comment Share on other sites More sharing options...
star2 Posted January 8, 2008 Share Posted January 8, 2008 Right from the help file $message = "Hold down Ctrl or Shift to choose multiple files." $var = FileOpenDialog($message, @WindowsDir & "\", "Images (*.jpg;*.bmp)", 1 + 4 ) If @error Then ;Cancel MsgBox(4096,"","No File(s) chosen") Else $var = StringReplace($var, "|", @CRLF) MsgBox(4096,"","You chose " & $var) EndIf [quote]Baby you're all that I want, When you're lyin' here in my armsI'm findin' it hard to believe, We're in heavenAnd love is all that I need , And I found it there in your heartIt isn't too hard to see, We're in heaven .Bryan Adams[/quote].............................................................................[u]AUTOIT[/u] Link to comment Share on other sites More sharing options...
potitpanda Posted January 8, 2008 Author Share Posted January 8, 2008 And If I Choose a File, and i cancel the operation before click on Open ? Is it the same ? Link to comment Share on other sites More sharing options...
star2 Posted January 8, 2008 Share Posted January 8, 2008 Yes, didn't u try it? [quote]Baby you're all that I want, When you're lyin' here in my armsI'm findin' it hard to believe, We're in heavenAnd love is all that I need , And I found it there in your heartIt isn't too hard to see, We're in heaven .Bryan Adams[/quote].............................................................................[u]AUTOIT[/u] Link to comment Share on other sites More sharing options...
potitpanda Posted January 9, 2008 Author Share Posted January 9, 2008 Yes It's working Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now