Thank you so much Vince
I mean what is X and Y parameters ?
Y is height of selectable area ?
Yes, Y is height. The height of the box is normally automatically calculated from the text it contains (TextDrawLetterSize plus the amount of lines) unless TextDrawTextSize is used.