PDA

View Full Version : delete text from textbox?



sandyrepope
21-06-2007, 20:05
Is there some command to clear/delete all text in a textbox?

Thanks
Sandy

Petr Schreiber
21-06-2007, 20:08
Hi sandy,

this should work


CONTROL SET TEXT hDlg, %MYTEXTBOX, ""


This should assign null length text to the control, so in fact erase it.


Bye,
Petr

sandyrepope
21-06-2007, 20:21
Thanks, Psch, I don't know why I didn't think of that. That is what I'll use.

Again, thanks
Sandy