Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Catégorie:
Codage, syntaxe et commandes
>>I have a fairly simple Edit button, when clicked, I turn on edit mode and have THISFORM.Edit2.SetFocus at the bottom of the button Click() code. The Edit button won't give up focus and set focus to the Editbox named Edit2. I have to click on the Editbox or press the Tab key for the Edit button to give up focus?
>>
>>I don't know why this is happening? Any ideas are appreciated.
>
>Steve,
>
>Put the SetFocus call to the Editbox in the LostFocus of the Edit button. That works for me.
>
>Renoir
Steve,
Ooops! Hold that thought... I just ran a test and it did not work... Let me build a quick form and try something. I have had LOTS of focus issues in the past and I know your frustration.
Renoir
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement