Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Janus GridEx & Rows

Janus GridEx & Rows

Scheduled Pinned Locked Moved Visual Basic
tutorial
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    RichardGrimmer
    wrote on last edited by
    #1

    Anyone have any idea how to implement drag & drop to re-order ROWS (not cols) in GridEx....driving me nuts, cos just can't seem to get it working!!! "Now I guess I'll sit back and watch people misinterpret what I just said......" Christian Graus At The Soapbox

    J 1 Reply Last reply
    0
    • R RichardGrimmer

      Anyone have any idea how to implement drag & drop to re-order ROWS (not cols) in GridEx....driving me nuts, cos just can't seem to get it working!!! "Now I guess I'll sit back and watch people misinterpret what I just said......" Christian Graus At The Soapbox

      J Offline
      J Offline
      jimpar
      wrote on last edited by
      #2

      From www.janusys.com support forum Saturday, July 12 2003, 02:29 PM GridEX control does not support automatic drag. To start a drag operation you need to call the OLEDrag method and handle the OLEDrag events to perform such operations. Note: The position of a row is taken from the position of the record in the Recordset and because you can not change that position in a Recordset you won't be able to provide such functionality if the control is bound. Further in the thread is a sample: We don't have samples that change the position of a row using OLE Drag & Drop. Here I'm attaching a sample project that handles the OLEStartDrag and OLESetData events when it is acting as drag source and the OLEDragDrop event for when it is acting as ole drop target. The sample was done to show how to copy rows from one instance of the application to another but with it you can get the idea of what events can be used. I can download and send to you if you need it

      R 1 Reply Last reply
      0
      • J jimpar

        From www.janusys.com support forum Saturday, July 12 2003, 02:29 PM GridEX control does not support automatic drag. To start a drag operation you need to call the OLEDrag method and handle the OLEDrag events to perform such operations. Note: The position of a row is taken from the position of the record in the Recordset and because you can not change that position in a Recordset you won't be able to provide such functionality if the control is bound. Further in the thread is a sample: We don't have samples that change the position of a row using OLE Drag & Drop. Here I'm attaching a sample project that handles the OLEStartDrag and OLESetData events when it is acting as drag source and the OLEDragDrop event for when it is acting as ole drop target. The sample was done to show how to copy rows from one instance of the application to another but with it you can get the idea of what events can be used. I can download and send to you if you need it

        R Offline
        R Offline
        RichardGrimmer
        wrote on last edited by
        #3

        That would be great - or post a link and will fire up the cable modem!! Many thanks "Now I guess I'll sit back and watch people misinterpret what I just said......" Christian Graus At The Soapbox

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups