Page 1 of 1

Posted: Thu Sep 26, 2002 6:33 pm
by BackupUser
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

Posted: Thu Sep 26, 2002 6:55 pm
by BackupUser
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

Posted: Thu Sep 26, 2002 7:15 pm
by BackupUser
Restored from previous forum. Originally posted by Franco.
Originally posted by tranquil

If the User pressed Cancel you will get an empty string as result. you only have to check this.
That's the way I do it too.

Have a nice day...
Franco

Sometimes you have to go a lonely way to accomplish genius things.