#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2013
    Posts
    5
    Rep Power
    0

    Row DBGrid1DragDrop


    Hi, How can I drop dbgrid row drag ...
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2012
    Posts
    156
    Rep Power
    3
    By handling the OnStartDrag event. In that even you create an object or record (Delphi record, not database record) that contains the information of the record (this time the database record) that being dragged. Then in the other dbgrid's OnDragDrop event you capture the dragging record information and use it according your need.
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2013
    Posts
    5
    Rep Power
    0
    Originally Posted by Luthfi
    By handling the OnStartDrag event. In that even you create an object or record (Delphi record, not database record) that contains the information of the record (this time the database record) that being dragged. Then in the other dbgrid's OnDragDrop event you capture the dragging record information and use it according your need.

    Hi, I do not know what you write english very well converted using Google Translate.
    Drag-drop code would ask you to share ...
  6. #4
  7. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2013
    Posts
    5
    Rep Power
    0
    current issue

IMN logo majestic logo threadwatch logo seochat tools logo