RE: Clearing Text Box

new topic     » goto parent     » topic index » view thread      » older message » newer message

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
> 
>

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu