Results 1 to 2 of 2

Thread: Auto Expanding TreeNode

Hybrid View

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Mar 2007
    Location
    Eindhoven, the Netherlands
    Posts
    16

    Auto Expanding TreeNode

    hi, there, I am implementing the drag & drop from the TDBGrid to Treeview control, does anyone know how to expand treeNode automatically when the dragged item is on the Treenode before the mouseUp event is triggered ????

    thx a lot in advance!

  2. #2
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: Auto Expanding TreeNode

    Usiung the dragdrop event (i think that's the event).... use .HitTest with coordinates and see if it returns a node. IF it does, expand it.

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width