1. Clearing Text Box
- Posted by ronaustin at alltel.net Oct 15, 2003
- 425 views
--------------Boundary-00=_XADTQL80000000000000 charset="iso-8859-1" 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 recor= d:=0D =0D clear(Code)=0D clear(Desc)=0D =0D Only the Code control gets cleared unless after I enter the Desc I hit TA= B twice to highlight the Desc control. Then both fields are cleared. Wh= at am I doing wrong? --------------Boundary-00=_XADTQL80000000000000 Content-Type: Text/HTML; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; charset=3Diso-8859-= 1"> <META content=3D"IncrediMail 1.0" name=3DGENERATOR> <!--IncrdiXMLRemarkStart> <IncrdiX-Info> <X-FID>FLAVOR00-NONE-0000-0000-000000000000</X-FID> <X-FVER></X-FVER> <X-CNT>;</X-CNT> </IncrdiX-Info> <IncrdiXMLRemarkEnd--> </HEAD> <BODY style=3D"BACKGROUND-POSITION: 0px 0px; SCROLLBAR-FACE-COLOR: #ebeae= a; FONT-SIZE: 12pt; MARGIN: 5px 10px 10px; SCROLLBAR-HIGHLIGHT-COLOR: #ae= aaaa; SCROLLBAR-SHADOW-COLOR: #a9a7a7; SCROLLBAR-3DLIGHT-COLOR: #e5e5e5; = SCROLLBAR-ARROW-COLOR: #875b38; FONT-FAMILY: Arial; SCROLLBAR-DARKSHADOW-= COLOR: #545252" bgColor=3D#ffffff background=3D"" scroll=3Dyes ORGYPOS=3D= "0" X-FVER=3D"3.0"> <TABLE id=3DINCREDIMAINTABLE cellSpacing=3D0 cellPadding=3D2 width=3D"100= %" border=3D0> <TBODY> <TR> <TD id=3DINCREDITEXTREGION style=3D"FONT-SIZE: 12pt; CURSOR: auto; FONT-F= AMILY: Arial" width=3D"100%"> <DIV>This program contains only two fields, Code and Desc. I get th= em through the SleText control. After the info is written out I wan= t to clear these controls. I added the following to the process tha= t writes out the record:</DIV> <DIV> </DIV> <DIV>clear(Code)</DIV> <DIV>clear(Desc)</DIV> <DIV> </DIV> <DIV>Only the Code control gets cleared unless after I enter the Desc I h= it TAB twice to highlight the Desc control. Then both fields are cl= eared. What am I doing wrong?</DIV></TD></TR> <TR> <TD id=3DINCREDIFOOTER width=3D"100%"> <TABLE cellSpacing=3D0 cellPadding=3D0 width=3D"100%"> <TBODY> <TR> <TD width=3D"100%"></TD> <TD id=3DINCREDISOUND vAlign=3Dbottom align=3Dmiddle></TD> <TD id=3DINCREDIANIM vAlign=3Dbottom align=3Dmiddle></TD></TR></TBODY></T= --------------Boundary-00=_XADTQL80000000000000--
2. Re: Clearing Text Box
- Posted by Greg Haberek <g.haberek at comcast.net> Oct 15, 2003
- 442 views
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 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 email was sent to: g.haberek at comcast.net TOPICA - Start your own email discussion group. FREE!
3. Re: Clearing Text Box
- Posted by ronaustin at alltel.net Oct 15, 2003
- 441 views
=0D =0D -------Original Message-------=0D =0D From: EUforum at topica.com=0D Subject: Re: Clearing Text Box=0D =0D =0D =0D use setText( myControl, "" ) to clear a text box the clear() routine is=0D used on RichEdit controls along with cut() cupy() paste() and undo()=0D =0D ~Greg=0D =0D Many Thanks to Greg and the rest of you. setText is just what I needed.=20 Now I am going to tackle printing. I set my e-mail to Plain Text mode. = I hope that's better.=0D =0D ----- Original Message -----=0D From: ronaustin at alltel.net=0D To: EUforum=0D Sent: Wednesday, October 15, 2003 3:40 PM=0D Subject: Clearing Text Box=0D =0D =0D =0D This program contains only two fields, Code and Desc. I get them through=0D the SleText control. After the info is written out I want to clear these=0D controls. I added the following to the process that writes out the record= :=0D =0D clear(Code)=0D clear(Desc)=0D =0D Only the Code control gets cleared unless after I enter the Desc I hit TA= B=0D twice to highlight the Desc control. Then both fields are cleared. What a= m=0D I doing wrong?=0D =0D =0D =0D =0D =0D TOPICA - Start your own email discussion group. FREE!=0D =0D =0D =0D TOPICA - Start your own email discussion group. FREE!=0D =0D =0D =0D =0D =2E=20
4. Re: Clearing Text Box
- Posted by Derek Parnell <ddparnell at bigpond.com> Oct 16, 2003
- 455 views
----- 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