Any specific event for clicking on the combo button

C # WinApps: is there any single event that can tell us that the user clicked the little click button next to the list?

Suggestions?

+4
source share
2 answers

Well, the ComboDropDown event should work. As written in docs :

This event is triggered by the OnComboDropDown method when a user clicks on the drop-down arrow or presses the Alt + Down arrow keys in a combo box cell ...

If this does not work for you, it seems like an error.

Possible workaround:

Handle the CellClick event and check the coordinates from GetCellRect() .

+2
source

Not this event is accurate, but what about the click event, you can check the position of the mouse and check if this is possible in a small area of ​​the buttons?

+1
source

Source: https://habr.com/ru/post/1334273/


All Articles