scrolling during drag and drop

Originally Posted 17 July 2017, 1:28 pm EST

  • Originally Posted 17 July 2017, 1:28 pm EST

    Hello
    I've a c1TrueDBGrid with app. 1000 lines. From another grid I've to move lines to the large grid. Drag and drop is no problem by dropping the line into the visible part of the largr grid. Is it possible to scroll while in dragdrop-mode?

    best regards
    Peter
  • Reply

    Hi Peter,

    I am discussing this with the development team and will come back to you once there is any information from them. [Tracking ID : 274641]

    Meanwhile, you can post other queries, if you face any other issue.

    Regards,
    Meenakshi
  • Marked as Answer

    Reply

    Hi,

    Scroll while doing drag-drop is not directly possible. But, as a workaround, you can check if the mouse pointer reaches near the top/bottom in the target grid then you can scroll the grid at particular interval. In order to scroll the grid here, you can use ScrollGrid() method of TrueDBGrid.

    I am attaching a sample with the same approach. Kindly refer to this for the complete implementation.

    Regards,
    Meenakshi
    2017/08/Prj_ScrollDuringDragDropInTDB.zip
Need extra support?

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

Learn More

Forum Channels