Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo Wont save Pasted Entries
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00692348
Message ID:
00692353
Vues:
18
>For quite a while on and off I've struggled for a solution for the following problem.
>
>In a ComboBox if I use CTRL-P to paste stuff in a field and then do not tab
>out of the field then the value is never saved.
>
>I should add the combo is not bound at the moment but I've never suceeded in getting this to work.
>
>Anyone found a solution?

Tim
When you say "do not tab out" do you mean that you are just pressing a Save button. If this is the case then in your Save code make sure you SetFocus either to the current control or to some other control so that the entry is fully accepted. This is what I have at the beginning of my save code
If Type("thisform.ActiveControl") = "O"
	thisform.ActiveControl.SetFocus()
EndIf
HTH
Caroline
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform