home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AMOS PD CD
/
amospdcd.iso
/
extensions
/
jd
/
procs
/
_movetext.amos
/
_movetext.amosSourceCode
Wrap
AMOS Source Code
|
1994-02-02
|
742b
|
24 lines
Load Iff "dh0:__pics/error-soft",1
Wait 10
T$="Hallo Martin ..."
If Extension_22_032A(Len(T$))=0 Then T$=T$+" "
B=Len(T$)* Extension_22_04A4 : H= Extension_22_04B4
X=90 : Y=100 : Gr Locate X,Y
Inverse On : Gr Writing 0 : Ink 1
Limit Mouse X Hard(0),Y Hard(0) To X Hard(Screen Width),Y Hard(Screen Height)
Do
Wait Vbl
Get Block 241,X-1,Y-H,B,H+3
Text X,Y,T$
NODISPLAY:
MK=0 : While MK=0 : MK=Mouse Key : Wend
If MK=2 Then Edit
If X=X Screen(X Mouse) and Y=Y Screen(Y Mouse) Then Goto NODISPLAY
Put Block 241,X-1,Y-H
X=X Screen(X Mouse) : Y=Y Screen(Y Mouse)
If X<1 Then X=1
If X+B>Screen Width Then X=Screen Width-B
If Y-H<0 Then Y=H
If Y+3>Screen Height Then Y=Screen Height-3
Del Block 241
Loop