Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Ken Murphy
  Where is Ken Murphy?
 Springhill
 Canada
 Ken Murphy
 To: Bhoopathy kalaivani
  Where is Bhoopathy kalaivani?
 Erode
 India
 Bhoopathy kalaivani
 Tags
Subject: RE: Text Box Entering
Thread ID: 155229 Message ID: 155252 # Views: 1 # Ratings: 0
Version: Visual FoxPro 9 Category: General VFP Topics
Date: Friday, December 28, 2007 2:03:35 PM         
   


> >
> > If you mean that you want the contents of the textbox marked selected at the time it gets the focus, then try this in the textbox.GotFocus():
> >
> >
> > IF NOT EMPTY(this.Value)
> > 	this.SelStart=0
> > 	this.SelLength=LEN(ALLTRIM(this.value))
> > ENDIF
> > 

> > --
> > Eric den Doop
> > www.foxite.com - The Home Of The Visual FoxPro Experts
>
>
> Thanks a Lot,
> Very Very Help Your Coding
> By
> P.Bhoopathy

If Eric's reply was helpful to you, perhaps you could take the time to give him a rating. Just click on his reply and then click the "Rate This" link at the bottom of the message header. When you give a rating, not only do you show appreciation, you also inform other members (who could be facing the same sort of problem) that Eric's reply was helpful to you and therefore could be helpful to them.

Ken
You shall know the truth - and the truth shall set you free. (John 8:33)

ENTIRE THREAD

Text Box Entering Posted by Bhoopathy kalaivani @ 12/28/2007 9:49:32 AM
RE: Text Box Entering Posted by Eric den Doop @ 12/28/2007 11:15:56 AM
RE: Text Box Entering Posted by Bhoopathy kalaivani @ 12/28/2007 2:00:13 PM
RE: Text Box Entering Posted by Ken Murphy @ 12/28/2007 2:03:35 PM
RE: Text Box Entering Posted by tushar @ 12/28/2007 11:27:34 AM
RE: Text Box Entering Posted by Bhoopathy kalaivani @ 12/28/2007 2:01:16 PM