Code: Select all
Open btn:
on mouseUp
open file "test.txt"
Read from file "test.txt" until end
Close file "test.txt"
put it into fld "t1"
end mouseUp
Code: Select all
Save btn:
on mouseUp
open file "test.txt" for update
Write fld "t1" to file "test.txt"
Close file "test.txt"
end mouseUp
Code: Select all
Clear btn:
on mouseUp
put "" into fld "t1"
end mouseUp
Code: Select all
Radio btn:
on mouseUp
set the textSize of the selectedText to 15
end mouseUp