Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Format property in Grid
Message
 
To
01/12/2001 00:00:06
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00588342
Message ID:
00592925
Views:
16
I put this in GotFocus of my textbox class:

*!* select all text
NODEFAULT
TextBox::GotFocus
THIS.SelStart = 0
THIS.SelLength = iif(type('this.value') = 'N', LEN(This.Text), LEN(ALLTRIM(THIS.Text)))

>I have a grid and one of the coloumns has a value and it can be edited, and when I want to edit it with first click the value, the old value still remain and I have to replace them. My user want the old value to be disappeared so they don't have to replace it when typing the changes.
>
>This thing doesn't happend if I use arrow button, I've tried looking at the Format and Inputmask propery, but they don't give me any changes.
Previous
Reply
Map
View

Click here to load this message in the networking platform