Results 1 to 4 of 4

Thread: treeview first click issue

Hybrid View

  1. #1

    Thread Starter
    Lively Member
    Join Date
    May 2007
    Posts
    70

    Re: treeview first click issue

    No problems with the move. I only put it in here because I am building the treeview ina form in Access 2013.

    In any case I've tried the refresh method. still has the same effect.
    However, I notice now that it may have something to do with the getfocus method? When running the code from the vb screen and then clicking anywhere on the form, the treeview shows the children of the root nodes.
    Ruuuuunning the code from a button on the form keeps the children hidden until youclick anywhere on the control.

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: treeview first click issue

    Quote Originally Posted by NeoDan View Post
    No problems with the move. I only put it in here because I am building the treeview ina form in Access 2013.
    In that case, it probably does belong here, although it might be better of in Office Development. Either way, you really ought to specify that sort of thing at the outset, because people generally won't guess it.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

Tags for this Thread

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