Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disable combobox dropdown event in border click
Message
From
03/03/2024 07:06:36
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Disable combobox dropdown event in border click
Miscellaneous
Thread ID:
01687669
Message ID:
01687669
Views:
51
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.png

When 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
Reply
Map
View

Click here to load this message in the networking platform