Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disable combobox dropdown event in border click
Message
De
03/03/2024 07:06:36
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Disable combobox dropdown event in border click
Divers
Thread ID:
01687669
Message ID:
01687669
Vues:
52
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
Répondre
Fil
Voir

Click here to load this message in the networking platform