That sorted it thanks again!
Here's my "get input" function for anyone interested (using d3d plugin):
function get_text_input(questiontxt$,cx,cy)
clear entry buffer
while done=0
i$=entry$() : clear entry buffer
if len(i$)=1 and asc(i$)<32 then i$=""
txt$=txt$+i$
boxtxt$=questiontxt$+txt$
w=d3d_gettextwidth(1,boxtxt$)
h=d3d_gettextheight(1,boxtxt$)
d3d_rounded_box cx-w/2-10,cy-h/2,cx+w/2+10,cy+h/2,10,1,rgb(50,50,50)
d3d_rounded_box cx-w/2-10,cy-h/2,cx+w/2+10,cy+h/2,10,0,rgb(0,0,0)
d3d_starttext
d3d_text 1,cx,cy-h/2,1,boxtxt$,rgb(0,0,0)
d3d_endtext
done=returnkey()
sync
endwhile
nice wait no key
endfunction txt$