Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SelectOnEntry not working
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00114360
Message ID:
00114486
Views:
28
>>I have a txtDate control.
>>txtDate.SelectOnEntry = .t.
>>txtDate.Format = 'D'
>>If I drop it into a form, set the .ControlSource, and click into it with the mouse the entire field is selected.
>>
>>But....
>>
>>If I drop it into a Grid.Column
>>Grid.Column.SelectOnEntry = .t.
>>Grid.Column.Bound = .t.
>>Grid.Column.CurrentControl = txtDate
>>Grid.Column.ControlSource = < whatever >
>>then click into it with the mouse the field is not selected.
>>
>>The same thing happens with other txtControls also.
>>
>>Any ideas?
>>
>>TIA
>
>
>try .Format='K'

I found that "K" didn't work either. I actually force highlighting of a date textbox with a for loop and KEYBOARD shift+rightarrow which does the trick here but it is a sad work around. I've found that this is only regarding date values and not others.

Steve
Previous
Reply
Map
View

Click here to load this message in the networking platform