<Backspace> key not working in my combo

Posted by: qwerty450 on 6 November 2017, 11:38 am EST

    • Post Options:
    • Link

    Posted 6 November 2017, 11:38 am EST

    Hi C1,

    In my example, I don’t understand why I can’t use the key in the C1Combo ?

    For example, if you enter “mi” and want to erase the “i” (using the , it doesn’t work. But all the others behaviors of my combo work perfectly.

    Help me please,

    Pascal

    Combo.zip

  • Posted 7 November 2017, 2:04 am EST

    Hi,

    Please try to set LimitToList property to False as:


    With C1Combo1

    .AutoCompletion = True

    .AutoDropDown = True

    .ComboStyle = C1.Win.C1List.ComboStyleEnum.DropdownCombo

    .LimitToList = False

    .AddItem(“Mike”)

    .AddItem(“Mik”)

    .AddItem(“Bob”)

    End With


    Note: If LimitToList set to True then the user cannot change the text/entry in the C1Combo which is not in the list.

    Thanks,

    Singh

  • Posted 7 November 2017, 10:33 am EST

    Thanks for you answer, but how can I do if I want to limit the entry to the list ?

    For me, the behavior doesn’t make sense. If the user enter “Mi” and hit the key to remove the “i”, there’s still entries in the list who start with “M”, why “.LimitToList” block this action ?

    Pascal

  • Posted 8 November 2017, 12:46 am EST

    Hi,

    Sorry to mention, but this is the design behavior of the control.

    So we cannot achieve your requirement if LimitToList property is set to true.

    Hope, it clarifies for you.

    Thanks,

    Singh

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels