How to prevent combobx dropdown event in border click

67 Views Asked by At

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

enter image description here

When clicked in border combobox dropdown event 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.

0

There are 0 best solutions below