>>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only