RE: Clearing Text Box
- Posted by Brian Broker <bkb at cnw.com> Oct 16, 2003
- 412 views
No... then you are just making an alias for setText(control,""). Then you'd have to write another function to do what clear() currently does (clear_selected_text()?). Then to be consistent you'll have to rename copy() to copy_selected_text() and cut() to cut_selected_text()... I'd just leave it. clear() works properly as documented. -- Brian Derek Parnell wrote: > > This is a poll. > > Would people like clear(SleText/MleText) to clear the whole field if > nothing is currently selected in the field? > > -- > Derek > >