2 Answers 2
Well, ComboDropDown event should work. As written in docs:
This event is raised by the OnComboDropDown method when the user clicks the drop-down arrow or presses the Alt+down arrow keys in a combo box cell ...
If it doesn't work for you, it seems like a bug.
Possible workaround:
Handle CellClick event and check coordinates from GetCellRect().
answered Jan 4, 2011 at 22:19
max
34.5k7 gold badges76 silver badges84 bronze badges
Sign up to request clarification or add additional context in comments.
2 Comments
Bohn
ok, tried it: well I am using FarpointSpread sheet and using a comboBox cell type inside one of its cells... it does not have DropDown but it does have ComboDropDown event which I had tried it before... if I click on the editor area, it fires...if i click on the button it does not fire in my app...
user2102327
@max There is no ComboDropDown or DropDown event. The only event I found is : DropDownClosed. There is no DropDownOpened event.
Not that event exactly, but, how about the click event, then you can check out the mouse position and check if it's in the little button area, perhaps?
answered Jan 4, 2011 at 22:21
Carlos Valenzuela
8341 gold badge7 silver badges19 bronze badges
1 Comment
Bohn
well how to check the position?
Explore related questions
See similar questions with these tags.
lang-cs