Posted 16 January 2019, 2:21 am EST
Does anyone know how to disable the autocyle function of a combobox column?
Forums Home / ComponentOne / WinForms Edition
Posted by: gerry.eigo on 16 January 2019, 2:21 am EST
Posted 16 January 2019, 2:21 am EST
Does anyone know how to disable the autocyle function of a combobox column?
Posted 16 January 2019, 8:27 pm EST
Hi,
Since TrueDbGrid’s default behavior is not to cycle through combo box items, I’m assuming that you’re using FlexGrid.
You can use this line to disable AutoCycle behavior:
c1FlexGrid1.EditOptions = c1FlexGrid1.EditOptions & ~C1.Win.C1FlexGrid.EditFlags.CycleOnDoubleClick;
Regards,
Jitender
Posted 16 January 2019, 11:58 pm EST
Jitender, you are correct that I’m using a flexgrid. I did attempt to do as you suggested, however, this did not disable it for me. I set it in the shown event of the form. Any other ideas?
Posted 17 January 2019, 1:50 am EST
I got it. Turns out the original programmer set it to all later in the code.