C1TrueDBGrid V4: Inverted DataView & MouseWheelScrolling problem

Posted by: a.boenninghoff on 17 July 2019, 5:54 am EST

    • Post Options:
    • Link

    Posted 17 July 2019, 5:54 am EST

    Hello,

    I have a problem with the inverted DataView of a table an scrolling with the mouse wheel.

    I define a grid with standard setting and connect it with the SetDataBinding - Function to a dataset witch is connect to a MS-Access database.

    I set the DataView = DataViewEnum.Inverted

    If the table has more lines as in the data area can be shown, I get the slider at the right hand side. If the slider is in the midle I can move with mouse wheel up an down, no problem. But if I move it to the end (down) with the wheel I can’t move it up with the wheel!? I mus move the slider by hand to come out of this situation.

    I test something and I see, that it happens if the grid.RowHight is less that 22.

    If I set it to 25 or 30, I have no problem.

    Has someone a solution for my problem?

    Thanks

    Andreas

  • Posted 18 July 2019, 2:13 am EST

    Hello,

    I too can replicate the issue at my end.

    I observed that it is happening when there are very few rows visible in the data area and if you increase the height of the form gradually then at some point, scroll bar starts working with mouse wheel.

    I have escalated the case to the developers.[Internal Tracking Id : 390656].

    We will get back to you, once we get any updates from the developers.

    Thanks and Regards,

    Prabhat Sharma.

  • Posted 31 July 2019, 3:19 am EST

    Hello,

    It seems that you are using the older version of ComponentOne.

    The issue has been fixed in the latest build i.e. 4.0.20192.375.

    You can update your controls from the C1Live application, situated at the given location in your system :

    C:\Program Files (x86)\ComponentOne\C1Live

    Thanks and Regards,

    Prabhat Sharma.

  • Posted 13 August 2019, 11:30 am EST

    Hello,

    now I had update the controls to the Version 4.0.20192.375, but the problem with scrolling down to the end and try to scroll up with mouse wheel seems not be solved.

    Regards

    Andreas

  • Posted 14 August 2019, 1:50 am EST

    Hello,

    Sorry, I could not replicate the issue at my end with the latest build i.e. 4.0.20192.375 while scrolling up and down with mouse wheel.

    I am attaching a sample which is working fine at my end.

    It will be very helpful for us to replicate the issue if you could modify the attached sample or provide your stripped down sample replicating the issue. Also it will be great if you could attach a GIF file when performing scrolling.

    Thanks and Regards,

    Prabhat Sharma.

    TDBInvertedDemo.zip

  • Posted 14 August 2019, 7:06 am EST

    Hello,

    thanks for the example. In first moment I saw that your example is running without problems. Than I make some tests and I can generate the error also in your example.

    I attaching the modificed example code, the changed database and some screenshots. I hope that it can help you to find a solution.

    1. Database changing

      I have insert my table “082_GModule_Wkz” in the database, and change the code so that this table is loading in the grid.

    2. Code changing

      I insert the grid event “ColResize” to set the same row height over the mouse to each row of grid.

      Additonal I write the RowHeight in the grid caption, also the height from the form

    3. Test

      So, it’s not so easy to generate the error situation

      I start the program over the debugger from VS2017

    4. I set the row height with the mouse so that it is 14 dots

    5. I set the form height with the mouse to 413 dots (you see it in the grid caption)

    6. I move the slider on the right hand side to the end, with mouse pointer or wheel

      When the slider is on the end and if you try to scroll the table with the mosue wheel up. Nothing happend !?

    If you make the height of the form a little bit smaler (<413) or bigger (> 419) the mouse wheel can scroll up without problems.

    I can generate this situation with other row heights and form heights also

    I.e. Row height:12 / Form height: 332

    C1Demo-InvertTableScrolling.zipC1NWind.zip

    Regards

    Andreas

  • Posted 16 August 2019, 6:25 am EST

    Thank you Andreas, for making the changes and sharing the files with us.

    With them, I can too see this happening. So, I’ve sent it back to developers for further investigation. I’ll update you once we have some information.

    Thanks,

    Ruchir

  • Posted 9 December 2019, 3:19 am EST

    Hello,

    We are happy to inform you that your issue has been fixed in the latest builds i.e. 20193.393.

    You can download the latest builds from the given link :

    https://www.grapecity.com/download/componentone-studio

    Regards,

    Prabhat Sharma.

  • Posted 10 January 2020, 3:57 am EST

    Hello,

    I download me the latest build and it works on my side also correctly now.

    Thanks for your support.

    Reagards,

    Andreas

Need extra support?

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

Learn More

Forum Channels