Programmatically collapse UserComboBox DropDownControl

Answered
0
0

Hi.

I have a UserComboBox with a DataGridView as its DropDownControl.
On the DataGridView CellMouseDoubleClick, I would like to collapse the DropDownControl programmatically.
I have tried using the DropDownControl.Hide method, but after this the UserComboBox down arrow won’t make it appear anymore.

Any way to accomplish this?

Thanks in advance.

Ivan

  • You must to post comments
Great Answer
0
0

Hi Ivan,

You can use DropDownControl.DroppedDown = false for close dropdown

Best,

Kevin(ITG)

  • You must to post comments
0
0

Hi Kevin.

Thank you for the reply.
Unless I am doing something weird, which is always a huge possibility in my case, I am afraid I don’t have this DroppedDown property in my control.
See figure attached. By the way, I am on the latest released Wisej version.

Cheers.

Ivan

Attachment
  • Ivan Borges
    Sorry, found it! It is on its parent, the UserComboBox control itself. I should have looked there first, right? Anyway, it is working great now. Thank you Kevin.
  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.