Put the textbox inside of a panel just big enough to hold the textbox and handle the drag and drop on the panel.