In Microsoft Visual FoxPro 9 Combobox control is placed to form.
Its style is
0 -Drop-down combo box, which includes a list box and an edit box
https://i.stack.imgur.com/pEso2.pngWhen clicked in border combobox dropdown events occurs.
To reproduce, create an empty form, add combobox control to it, run it using Ctrl+E and click exactly in border.
How to prevent this so that dropdown event occurs only if clicked in selection button in right side?
Or how to select mouse coordinates or something other in drowdown event to determine, is border or selection button clicked?
I tried to set combobox border style to None, but border click still raises dropdown event.
Posted also in
https://stackoverflow.com/questions/78096225/how-to-prevent-combobx-dropdown-event-in-border-click
Andrus