| View previous topic :: View next topic |
| Author |
Message |
Petru
Joined: 17 Dec 2007 Posts: 64 Location: Galatz, Romania
|
Posted: Sun Dec 23, 2007 4:50 pm Post subject: InputBox |
|
|
| How to detect if the user pressed the Cancel button of an InputBox? |
|
| Back to top |
|
 |
Guest
|
Posted: Sun Dec 23, 2007 5:17 pm Post subject: |
|
|
| You should check the "ErrorLevel".The help file has an example. |
|
| Back to top |
|
 |
leggah
Joined: 14 Oct 2007 Posts: 44
|
Posted: Sun Dec 23, 2007 5:22 pm Post subject: |
|
|
| Code: | if ErrorLevel
{
; Do something
}
else
{
; Do something else
} |
|
|
| Back to top |
|
 |
|