home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Boston 2
/
boston-2.iso
/
DOS
/
DEUTSCH
/
SONSTIGE
/
KFZWERK
/
KFZ.SC
< prev
next >
Wrap
Text File
|
1993-12-01
|
1KB
|
68 lines
; Kfz
if (sysmode() <> "Basis") then
Message "Die Anwendung kann nur vom Paradox-Basismodus aus gestartet werden."
Sleep 3000
return
endif
Echo Off
Clear
Reset
Cursor Off
; Anwender mit dem Startbildschirm begrüßen
@ 2, 0
Play "Kfzg"
; nach dem Paßwort der Anwendung fragen; dieses Paßwort bestimmt
; die Zugriffsberechtigung des aktuellen Anwenders
; zu den Tabellen in der Anwendung
@ 0, 0
Style Attribute SysColor(0)
?? fill(" ",160)
@ 1, 0
?? "Paßwort für die Anwendung eingeben; [Esc] abbrechen; [Return] kein Paßwort."
@ 0, 0
?? "Paßwort: "
Cursor Normal
zzzcolor = int(SysColor(0) / 16)
Style Attribute ((zzzcolor * 16) + zzzcolor)
Accept "a50" To pword
Style
EscEnter = not retval
Cursor Off
if (EscEnter) then
Message "Anwendung abbrechen"
Sleep 2000
Clear
return
endif
if (pword <> "") then
Password pword
endif
; set up the error proc for the application
ReadLib "Kfzutl" ApplicErrorProc
ErrorProc = "ApplicErrorProc"
ApplicErrorRetVal = FALSE
; Anwendung starten
ReadLib "Kfz1" Kfz1Menu
Kfz1Menu()
Release Procs Kfz1Menu
Clearall
if (pword <> "") then
UnPassword pword
endif