Subject Re: autodrop in combobox
From Mervyn Bick <invalid@invalid.invalid>
Date Sun, 5 Jun 2022 17:38:10 +0200
Newsgroups dbase.getting-started

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.