home *** CD-ROM | disk | FTP | other *** search
EPOC OPL Source | 1998-10-28 | 816 b | 31 lines |
-
-
- rem // Backlite+Plus macro - macExitLoseChanges
- rem // v1.01 By Phil Spencer 1st February 1998
-
- PROC macExitAndLoseChanges:
- LOCAL Dia%
- IF BLIsCurrentAPP%:("Backlite+")<>1
- BLHideBacklite:
- BLBacklitetoFront:
- ELSE
- GIPRINT "Can not use this macro on Backlite+"
- RETURN
- ENDIF
- dINIT "Confirm the loss of all changes"
- dTEXT "","('Yes' discards all changes)",2
- dBUTTONS "No",-(%n OR $300),"Yes",%y OR $300
- Dia%=DIALOG
- BLBacklitetoBack:
- BLUnHideBacklite:
- IF Dia%<>%y
- RETURN
- ENDIF
- BLSwitchtoCurrent:
- BLKeyCommand:("CTRL+R")
- BLKeyCommand:("Y")
- BLKeyCommand:("CTRL+E")
- ENDP
-
-
-