Re: Clearing Text Box

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

----- Original Message ----- 
From: "Greg Haberek" <g.haberek at comcast.net>
To: "EUforum" <EUforum at topica.com>
Subject: Re: Clearing Text Box


> 
> 
> use setText( myControl, "" ) to clear a text box  the clear() routine is
> used on RichEdit controls along with cut() cupy() paste() and undo()
> 
> ~Greg
> 
> ----- Original Message -----
> From: ronaustin at alltel.net
> To: EUforum
> Sent: Wednesday, October 15, 2003 3:40 PM
> Subject: Clearing Text Box
> 
> 
> This program contains only two fields, Code and Desc.  I get them through
> the SleText control.  After the info is written out I want to clear these
> controls.  I added the following to the process that writes out the record:
> 
> clear(Code)
> clear(Desc)
> 
> Only the Code control gets cleared unless after I enter the Desc I hit TAB
> twice to highlight the Desc control.  Then both fields are cleared.  What am
> I doing wrong?
> 


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