Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SelectOnEntry/GotFocus
Message
 
To
19/11/2001 12:28:52
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00583553
Message ID:
00583567
Views:
14
Cetin,

Thanks for your response.

This is a little embarassing, but I just discovered that my calculation function following the above code within the GetFocus event was taking away the SelectOnEntry effect. I placed my Calculation function before the above code and it works just fine for numeric fields. Oh well, maybe someone can learn by this.

The GotFocus Event for this date control looks like this:

*---------------------------------
=ThisForm.CalcTotIncomeUsed()

Textbox::GotFocus()
This.SelStart=0
This.SelLength=This.MaxLength
NODEFAULT
*---------------------------------

Thanks Cetin,

Cecil
Previous
Reply
Map
View

Click here to load this message in the networking platform