Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Selecting a Date in a Text Box
Message
From
02/11/2005 07:53:24
 
 
To
02/11/2005 07:38:21
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01064412
Message ID:
01064421
Views:
20
>I need a way that when a user clicks in a date populated text box the entire date is selected to be over-written. I know the SelStart and SelLength will work on strings but how do you use this with dates?

The same way.
Put the TextBox.SelectOnEntry = .t. and then in GotFocus() event put:
NODEFAULT
TextBox::GotFocus()
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform