my next task is after detecting a double click on the line(which i can do now)is to set the program to text mode, in which a curser will appear on the line where the user clicks and text can be entered, if the font size chosen is too high for the line width the width of the line under the text needs to expand to accomodate the text also the text needs to follow the shape of the line eg<br><br>--------------------------------<br> place text /<br>---------------------------/l/<br> /i/-------------------------<br> /ke this <br> /-----------------------------<br><br>any help would be greatly appreciated