Restored from previous forum. Originally posted by Denis.
Hi all,
when using OpenFileRequester, the function return a string (The selected file you want to . . .).
This dialogBox have 2 buttons, Open and Cancel.
What happen when you push the cancel button ?
How to know if the cancel button was pushed ?
I can use the ASM function to do that, but PB facilitates the programming.
Denis, new register PB user
OpenFileRequester
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by tranquil.
If the User pressed Cancle you will get an empty string as result. you only have to check this.
Cheers
Mike
Tranquilizer/ Secretly!
http://www.secretly.de
Registred PureBasic User
If the User pressed Cancle you will get an empty string as result. you only have to check this.
Cheers
Mike
Tranquilizer/ Secretly!
http://www.secretly.de
Registred PureBasic User
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by Franco.
Have a nice day...
Franco
Sometimes you have to go a lonely way to accomplish genius things.
That's the way I do it too.Originally posted by tranquil
If the User pressed Cancel you will get an empty string as result. you only have to check this.
Have a nice day...
Franco
Sometimes you have to go a lonely way to accomplish genius things.