>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.
>
>
Hello Spencer;
If your combobox is expanded.. you have the focus on it.. so, on the lostfocus method you can try some
dodefault.. and/or
keyboard chr(13).. and/or
this.visible=.f.you know.. some try, to deal with this behavior..
HTH
Claudio
"Now to him who is able to do immeasurably more than all we ask or imagine, according to his power that is at work within us, Ephesians 3:20