InputComboBox strange MaxDropDownItems Behavior

Posted by: fabio.lavitola on 26 October 2023, 1:41 pm EST

  • Posted 26 October 2023, 1:41 pm EST - Updated 26 October 2023, 1:49 pm EST

    Hi,

    at the moment, if I add 10 InputButton into an InputCOmbox, if i set MaxDropDownItems to 8 i can see excactly 8 of 10 InputOption.

    And is ok.

    But if i also add an InputGroupHeader, even with the limit to MaxDropDownItems = 8 I’ll see 9 components: 1 InputGroupHeader and 8 InputButtons.

    It seems like that kinda InputComponent (InputGroupHeader) is not calculated as part of the MaxDropDownItems = 8.

    Now the real case: I’m creating an InputComboBox to choose a color (similar to PhotoShop) from a huge range of colors (Pantone, RAL, and so on): I’ve found that I’ve better to use an InputGroupHeader to achieve my goal with TextAlign = Center and BackgroundColor = the color of the actual pantone from a loop.

    But even if MaxDropDownItems is set, I still keep on viewing a huge set of values which fills the monitor!

    I’ve also noticed that changing the vertical align or padding (A bottomcenter text align vould be cool), it crated a blank space, erasing the background color.

    Least but not last, everytime i reopen a form which has an inoutpanel, every Break property of every InputLabel is SET to ROW, and i have to change Breaks everytime.

    At the moment a workaround is (opening the form) something like:

    C1ipMain.Items.OfType(Of InputLabel).ToList.ForEach(Sub(I) I.Break = BreakType.None)

    Thanks

    Regards,

    Fabio

  • Posted 26 October 2023, 2:04 pm EST - Updated 26 October 2023, 2:10 pm EST

    Using instead an InputMenu, it respect the MaxDropDownItems = 8 limit even with InputGroupHeder.

    But It would be also useful to have the right ScrollBar , it would be extremely fast to scroll!

  • Posted 26 October 2023, 2:56 pm EST

    And also… dynamic InputGroupHeader events are not working (InputGroupHeader created into InputMenu and another subitem, another InputMenu …

  • Posted 28 October 2023, 2:33 am EST

    Hi Fabio,

    > It seems like that kinda InputComponent (InputGroupHeader) is not calculated as part of the MaxDropDownItems = 8.

    We have escalated this issue to the developers with internal tracking ID: C1WIN-31292.

    > I’ve also noticed that changing the vertical align or padding (A bottomcenter text align vould be cool), it crated a blank space, erasing the background color.

    Unfortunately, we could not replicate this issue on our end. We request you provide us a small sample application with the steps to replicate the issue.

    >Least but not last, everytime i reopen a form which has an inoutpanel, every Break property of every InputLabel is SET to ROW, and i have to change Breaks everytime.

    This is a known bug and developers are working on it. Internal Tracking ID: C1WIN-30988. We will update you on this as soon as we get an ETA for the fix of this issue.

    >But It would be also useful to have the right ScrollBar , it would be extremely fast to scroll!

    We have escalated this request to the developers. Internal Tracking ID: C1WIN-31291

    > And also… dynamic InputGroupHeader events are not working (InputGroupHeader created into InputMenu and another subitem, another InputMenu …

    We have escalated this issue to the developers with internal tracking ID: C1WIN-31293.

    We will update you on the above issues as soon as we hear back from the devs on these issues.

    Thanks & Regards,

    Aastha

  • Posted 24 June 2024, 6:51 am EST

    Hi Fabio,

    The issues with IDs: C1WIN-31293, C1WIN-31292 and C1WIN-30988 have been fixed in 2023v3(636) hotfix release. You can update your controls to 2023v2 hotfix or later to achieve the desired behavior.

    However, the developers are still working on the feature request with internal tracking ID: C1WIN-31291. There is no ETA provided for it, yet. We will notify you on receiving further updates on this.

    Kind Regards,

    Aastha

Need extra support?

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

Learn More

Forum Channels