| View previous topic :: View next topic |
| Author |
Message |
SnarlingSheep Professional Member


Joined: 13 Mar 2001 Posts: 759 Location: Michigan
|
Posted: Sun Sep 08, 2002 9:42 pm Post subject: |
|
|
Hitting the Escape Key with a Cancel button in your program generates a CancelBUTTON event. _________________ -Sheep
My pockets hurt... |
|
| Back to top |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Sun Sep 08, 2002 9:49 pm Post subject: |
|
|
Not in VDS3.
This code does absolutely nothing when the ESC key is hit.
| Code: |
OPTION DECIMALSEP, "."
TITLE By Mac
DIALOG CREATE,Test Program,-1,0,300,200
DIALOG ADD,BITBTN,Cancel,0,0,0,0
DIALOG SHOW
:EVLOOP
WAIT EVENT
goto @event()
:CancelBUTTON
INFO Testing ESC button...@tab()
goto EVLOOP
:CLOSE
EXIT
|
Cheers, Mac  _________________ VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
 |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Sun Sep 08, 2002 9:54 pm Post subject: |
|
|
The "Cancel" BITBTN doesn't work for me either in VDS 4.5
But the "Help" BITBTN does. _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
Tommy Admin Team
Joined: 16 Nov 2002 Posts: 746 Location: The Netherlands
|
Posted: Sun Sep 08, 2002 10:26 pm Post subject: |
|
|
Although the "cancel" button may not work in VDS 3 if using Bitbuttons, it will work if
using casual buttons. |
|
| Back to top |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
|
| Back to top |
|
 |
SnarlingSheep Professional Member


Joined: 13 Mar 2001 Posts: 759 Location: Michigan
|
Posted: Sun Sep 08, 2002 11:22 pm Post subject: |
|
|
| SnarlingSheep wrote: | | generates a CancelBUTTON event. |
 _________________ -Sheep
My pockets hurt... |
|
| Back to top |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Mon Sep 09, 2002 12:05 am Post subject: |
|
|
LOL Sheep, I thought we wuz talkin' about BITBTNS...
Cheers, Mac  _________________ VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
 |
|
| Back to top |
|
 |
|