C1Input display problems

Originally Posted 10 May 2017, 10:24 pm EST

  • Originally Posted 10 May 2017, 10:24 pm EST

    DropDown image is not scaling properly in high DPI (200%) as mentioned at this topic
    http://our.componentone.com/groups/topic/c1-win-c1input-display-problem-on-screen-mode-200-pdi/

    I tested this situation with C1Input version 4.0.20171.248 and the problem has not been fixed at all. As you can see my attached screenshot, three controls at top (C1DropDown, C1DateEdit, C1NumericEdit) have small arrow images, the last one is standard ComboBox with properly size arrow image in DPI scaling 200%.
    I tested on Windows 10 64bit in 200% DPI scaling, the sample has built with dpiAware=True setting in manifest file.

    Some other small issue:

    - All C1DropDown, C1DateEdit, C1NumericEdit got some flicker at drop-down button when user moves mouse on them.

    - When I change properties of C1DropDown, C1DateEdit, C1NumericEdit: VisualStyle=System and BorderStyle=Fixed3D and my Windows OS theme is disabled, they still have flat border instead of classic 3D border as standard TextBox, ComboBox... (you can see in my attach screenshot).

    - By the way, could you add an option for C1Input controls to able to custom draw drop-down button totally by coding. Now, I can assign custom image to ButtonImages but C1Input controls always add some effect (drawing border, changing background color of my custom image) when mouse hovered.

    Thank you!

  • Reply

    Hello

    We could not reproduce the issue at our end (Please refer to the attached screen-shot).
    Also we notice that the layout of the controls in your screen-shot and in our application is different hence we request you to please share your application or modify the attached application replicating the issue, so that we may reproduce the issue at our end and help you better.
    Also, for having standard combobox like borders in C1 input control, please try using the "FixedSingle" BorderStyle.

    Thanks
    Ruchir Agarwal


    2017/05/prj_ScalingIssue.zip
  • Reply

    Thank you for your response.

    I've attached my sample here.

    Border issue: I do not want have standard combobox like borders in C1 input control (sorry). I think VisualStyle=System meaning C1 input control will display like standard system control but C1 input control's border always is flat even BorderStyle=Fixed3D.

    Flicker issue: in my sample, please move your mouse over C1DropDownControl then moving over C1NumericEdit then repeate... and look at their dropdown buttons.

    Regards,
    Hai.
    2017/05/WindowsFormsApplication2.rar
  • Marked as Answer

    Reply

    Hi Hai,

    Thank you for sharing your application.
    1. I have attached a screen-shot ("Application_Output.png") of the output at my end. If the same output occurs at your end and that seems a bug to you then I would like to inform you that it is the expected output and is not a bug. You may see the difference between the drop down button images shown in the screen-shot shared in the old forum post link you shared [Bug] and the drop down button images shown in the screen-shot of your application [Expected].
    2. Also, with the help of the attached screen-shot ("BorderStyleDifference.png") I have tried to show you the difference when the C1 input controls have their BorderStyle set to "Fixed3D" [Top controls] and when they are not [Bottom controls].
    3. We ran your application multiple times but could not observe any sort of flickering at our end.

    Thanks,
    Ruchir Agarwal



Need extra support?

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

Learn More

Forum Channels