Treeview Control Not Taking Focus

T

tc69

I have a UserForm with a single Control. It's a TreeView Control from
Microsoft Common Controls 6.0 (MSCOMCTL.OCX). When I call the UserForm's
Show Method, the Form shows with the Window Borders highlighted like it's got
focus but the TreeView Control has no Node highlighted and doesn't react to
any keyboard input until I Click on something inside the Treeview Control. I
have my SelectedItem Property set and verified in the Debugger. I tried
calling the Treeview's SetFocus Method both prior to Show and inside the
UserForm's Activate Event. I'm using XL 2000 (9.0.2720) on XP Pro SP2. I'd
appreciate any ideas. Thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top