Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
Help with artifact of combobox dropdown
Here is the essential issue:
In a form's KeyPress event I have code that moves the focus from one page of a PageFrame to the next page. So far so good.
My problem:
If, however, a combobox's dropdown is expanded, then the dropdown remains as an "artifact" and still visible on the new page.
I already have code in place that, prior to the page change, determines whether or not the dropdown is expanded. What I lack is the ability to programmatically close/remove the dropdown before changing the page. I have already tried .Refresh and keyboarding "{enter}", etc.
I would sure appreciate a solution from anyone who has successfully dealt with this.
Thanks in advance.
Spencer
Suivant
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