home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Garbo
/
Garbo.cdr
/
mac
/
hypercrd
/
hc1_2_x
/
storybok.sit
/
Storybook
/
card_6372.txt
< prev
next >
Wrap
Text File
|
1990-07-24
|
2KB
|
84 lines
-- card: 6372 from stack: in
-- bmap block id: 0
-- flags: 4000
-- background id: 6013
-- name: main
----- HyperTalk script -----
on openCard
global cardLine
put 1 into cardLine
end openCard
-- part 1 (field)
-- low flags: 01
-- high flags: 0007
-- rect: left=156 top=84 right=246 bottom=341
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 4
-- text size: 9
-- style flags: 0
-- line height: 12
-- part name: Cards
----- HyperTalk script -----
on mouseDown
global done
global cardLine
set lockText of card field "Cards" to false
click at the clickLoc
click at the clickLoc
set lockText of card field "Cards" to true
click at the topLeft of card button "Click on page name:"
put word 2 of the selectedLine into cardLine
get the selection
if it is "" then
select empty
put 0 into cardLine
else
put true into done
end if
end mouseDown
-- part 2 (button)
-- low flags: 00
-- high flags: 8002
-- rect: left=156 top=62 right=84 bottom=341
-- 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: Click on page name:
-- part 3 (button)
-- low flags: 00
-- high flags: A003
-- rect: left=209 top=280 right=302 bottom=286
-- 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
global cancel
put true into cancel
end mouseUp
-- part contents for card part 1
----- text -----
beginning
end