General discussion

  • Creator
    Topic
  • #2087779

    MSAccess Treeview Control

    Locked

    by trekketoo ·

    My MS Access application uses Microsofts treeview control(It’s listed as a Microsoft
    TreeView Control Version 5.0(SPK 2)), my problem is
    when a Node is dragged to the top of the control, the control does not
    automatically scroll up vertically,although it will scroll down when the node is
    dragged to the bottom of the treeview(it only scrolls partway before stopping,
    making you drop the node then select again to drag down further). I want it to behave as it would in windows explorer when you are dragging a file to the top or bottom of the window. I have been
    unsuccessful at finding a way to do this. Does anyone know how to fix this?

All Comments

  • Author
    Replies
    • #3731696

      MSAccess Treeview Control

      by bill_h ·

      In reply to MSAccess Treeview Control

      See the MSDN article “HOWTO: Scroll the TreeView When Dragging and Dropping a Node” for a solution. Although the article refers to Visual Basic, the code can be used for Access as well. The article is located at:

      http://support.microsoft.com/support/kb/articles/Q177/7/43.ASP

      • #3731694

        MSAccess Treeview Control

        by bill_h ·

        In reply to MSAccess Treeview Control

        Oops…the URL contained a unintended space. The correct URL is:

        http://support.microsoft.com/support/kb/articles/Q177/7/43.ASP

      • #3731692

        MSAccess Treeview Control

        by bill_h ·

        In reply to MSAccess Treeview Control

        Well, &*%$@#…the comment included the space as well – must be the site, not me.

        Anyway, remove the space that occurs before the end of the URL, i.e., ” 43.ASP” should be “43.ASP”…

      • #3880166

        MSAccess Treeview Control

        by trekketoo ·

        In reply to MSAccess Treeview Control

        I had already found this article in Microsofts knowledge base, but I do not know how to make it work in Access. The first part bombs and I am not experienced enough to know how to fix it

        Private Declare Function SendMessage Lib “user32″ Alias”SendMessageA” (ByVal hwnd As Long,
        ByVal wMsg As Long, ByVal wParam As Long, lParam As Any) As Long

        So I’m still back to where I started.

    • #3619863

      MSAccess Treeview Control

      by mike (from canada) ·

      In reply to MSAccess Treeview Control

      upgrade your software.

    • #3627739

      MSAccess Treeview Control

      by trekketoo ·

      In reply to MSAccess Treeview Control

      This question was closed by the author

Viewing 2 reply threads