Re: TextBox & EditBox Question by DTHMTLGOD
DTHMTLGOD
Tue Dec 02 07:49:02 CST 2003
Thanks both the K and the SelectOnEntry both work. However, the information
in the fields seem to be read only, it won't let me update the information.
When I click in the box, the cursor moves to the front of the editBox and it
won't let me go pass the first character position. It won't let me
highlight and delete either.
Any info you can provide would be great.
"Rush Strong" <rush.strong]@[verizon.net> wrote in message
news:OOdWoTGuDHA.3196@TK2MSFTNGP11.phx.gbl...
> Set the SelectOnEntry property to .T.
>
> - Rush
>
> "Wolfgang Schmale" <w_schmale@wsnews.de> wrote in message
> news:%232$npFGuDHA.1744@TK2MSFTNGP12.phx.gbl...
> > Do you want to highlight the entry or do you want to change the
Backcolor
> on
> > entry the textbox. If you want the last you could write in the gotfocus
> > method
> > this.Backcolor =rgb(255,0,0)
> > this.forecolor=rgb(255,255,255)
> >
> > and in the Lostfocus method
> > this.backcolor=rgb(255,255,255)
> > this.forecolor=rgb(0,0,0)
> >
> > --
> > _________________
> >
> > MFG
> > Wolfgang Schmale
> >
> > MS Visual FoxPro MVP
> >
> > --------------------------------
> > "Dthmtlgod" <dthmtlgod@hotmail.com> schrieb im Newsbeitrag
> > news:039901c3b849$005a09d0$a101280a@phx.gbl...
> > > Hi all,
> > >
> > > Is there a way to do this? When either a TextBox or
> > > EditBox have focus it highlights the entire entry? i.e.
> > > when I tab through a form with many fields, it will
> > > highlight the contents of the Text & Edit Box. Right now
> > > when I tab to a field, the cursor is at the beginning of
> > > the box.
> > >
> > > Thanks,
> > > Mark
> > >
> >
>
>