Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 19
Default Treeview Control Not Taking Focus

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!
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Taking focus off control on sheet Don Wiss Excel Programming 7 August 5th 06 04:40 AM
Prevent control taking focus when accelerator key is used? Michael Jones Excel Programming 4 July 10th 06 10:40 AM
Prevent control taking focus when accelerator key is used? Michael Jones Excel Programming 0 July 9th 06 06:01 PM
Show userform without it taking focus? leah Excel Programming 2 August 10th 04 07:07 PM
Taking focus off a Control Checkbox Don Wiss Excel Programming 1 November 11th 03 12:18 AM


All times are GMT +1. The time now is 09:12 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"