home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Carousel Volume 2 #1
/
carousel.iso
/
mactosh
/
john
/
hc_hyper.hqx
/
HyperFTP-10
/
card_3751.txt
< prev
next >
Wrap
Text File
|
1989-12-15
|
2KB
|
107 lines
-- card: 3751 from stack: in
-- bmap block id: 4081
-- flags: 4000
-- background id: 2574
-- name: Password Dialog
----- HyperTalk script -----
on openCard
click at the loc of cd fld "Password"
end openCard
on closeCard
put empty into cd fld "Password"
end closeCard
on OKbtn
sendLine "PASS" && cd fld "Password"
go card "Main"
end OKbtn
on CANCELbtn
go card "Main"
end CANCELbtn
on idle
-- check for return pressed in password
put cd fld "Password" into pw
get offset( return, pw )
if it > zero then
put char 1 to it of pw into cd fld "Password"
OKbtn
end if
end idle
-- part 4 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=0 top=0 right=342 bottom=512
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Catch All
----- HyperTalk script -----
-- prevent clicks on background and stack items
on mouseUp
beep
end mouseUp
-- part 1 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=260 top=96 right=126 bottom=329
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: OK
----- HyperTalk script -----
on mouseUp
OKbtn -- send message to card script
end mouseUp
-- part 2 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=338 top=100 right=121 bottom=406
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Cancel
----- HyperTalk script -----
on mouseUp
CANCELbtn -- send message to card script
end mouseUp
-- part 3 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=100 top=68 right=85 bottom=402
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 86
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Password