Subject Re: autodrop in combobox
From Mustansir Ghor <mustan31@hotmail.com>
Date Sun, 05 Jun 2022 11:44:28 -0400
Newsgroups dbase.getting-started

Dear Mervyn Sir

Thank you Sir

Best Regards
Mustansir

Mervyn Bick Wrote:

> On 2022/06/05 15:09, Mustansir Ghor wrote:
> > Dear All
> >
> > I have set autodrop to true in a combobox. When I press Tab key and the combobox gets focus then popup of items comes up. But when I use combobox.setfocus() to get its focus the autodrop feature does not work.
> >
> > Can anybody assists me on this how to go about.
>
> You need to simulate a mouse leftclick on the combobox button.  It's not
> difficult but it requires some functions from Windows.  Unfortunately I
> can't do it now.
>
> If nobody helps you today I'll post some code tomorrow.
>
> Mervyn.
>
>
>
>