Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SelectOnEntry not working
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00114360
Message ID:
00114486
Vues:
26
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform