TRzDBGrid on a touch screen?

Viewing 1 reply thread
  • Author
    Posts
    • #1351

      One of my current projects is a version of a desktop application for a Windows 10 tablet (no keyboard or mouse) the object being to make the UI as touch friendly as possible within the abilities of the VCL. One of the problems that I’m trying to overcome is easier navigation of a TRzdbgird using touch. Research is not helping much in that the most recent discussion of this I can find Googling on “delphi dbgrid touch scroll” is from 2014 on stackoverflow. But the upshot is that the scrollbar is a windows common control and so it’s properties are set by the OS, width and size of the arrows and not the VCL. Also the standard dbgrid component is not very touch friendly according to that thread.

      How about the TRzdbgrid? I thought I remember reading that the Raize / Konopka Signature controls were written from the ground up and not descendants of existing controls. Can anything be done in code to make the scroll bar bigger for touch because it’s simply too small to hit reliably with your finger and the scroll bar arrrows as well; how about touch scrolling, is there anything I can do to touch scroll rather that using the scrollbar?

      If there is nothing and the VCL / Signature Controls need to be enhanced to better support touch screens how exactly do I make that request to Idera / Embarcadero?

    • #1372
      Ray Konopka
      Keymaster

        Hi Chris,
        I apologize for the delay in responding. Apparently, I had mistakenly marked all posts as read and did not realize I did not respond to your message.

        The TRzDBGrid does indeed descend from the TCustomDBGrid component so that it does inherit basic functionality from the ancestor control.

        As for adding touch support, I would suggest taking a look at the gesture support included in Delphi. That way you could leverage scrolling without having to interact with the scroll bar itself.

        Ray

    Viewing 1 reply thread
    • You must be logged in to reply to this topic.