Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Eric den Doop
  Where is Eric den Doop?
 Houten
 Netherlands
 Eric den Doop
 To: Bhoopathy kalaivani
  Where is Bhoopathy kalaivani?
 Erode
 India
 Bhoopathy kalaivani
 Tags
Subject: RE: Text Box Entering
Thread ID: 155229 Message ID: 155237 # Views: 1 # Ratings: 0
Version: Visual FoxPro 9 Category: General VFP Topics
Date: Friday, December 28, 2007 11:15:56 AM         
   


> when we type a numeric value in a text box it over write the new value.
> But I want How is full numeric value are selected at the time of cursor received.
>
> By
> R.Amutha & P.Bhoopathy
> Vas- Cbe

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

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