thanks Jim; looks like I've got to figure out why it's just my pc then. Chip
------------------------------ Chip Orange Database Administrator Florida Public Service Commission [email protected] (850) 413-6314 (Any opinions expressed are solely those of the author and do not necessarily reflect those of the Florida Public Service Commission.) > -----Original Message----- > From: Jim Grimsby JR. [mailto:[email protected]] > Sent: Wednesday, July 01, 2009 12:54 AM > To: [email protected] > Subject: RE: example for vista control not focusing problem > > Ok and I am not put the focus on the address edit box use my > focus controls hot key arrow to the list view press enter and > bam thank you very much my focus is on the list view. > > > ☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺ Jim Grimsby Junior. > Please feel free to contact me at anytime using one of the > below methods. > Skype: Jim.Grimsby 909-498-4711. > E-mail: [email protected] > Windows live messenger: [email protected] > > > -----Original Message----- > From: Chip Orange [mailto:[email protected]] > Sent: Tuesday, June 30, 2009 4:24 PM > To: [email protected] > Subject: RE: example for vista control not focusing problem > > Doug, > > Yes, I think I've done this several times, but I appreciate > your help, and I > don't mind doing it again. > > yes, it's the list view which Jeff and I cannot set focus to. > yes, it's the > list view I want. yes, I've verified there is only one list view in a > windows explorer window, and it's the one I want, the list of files. > > aside from my script, you can see this issue by doing what I > laid out before > using Jamal's focus control script. > > go to a windows explorer window. set the focus to be any > control other than > the list view. press the ins-f9 hot key for focus control > script. it will > bring up a list of focusable controls in the active window. > > when I choose the list view from this list, I get an error, > which replicates > the error I am getting from my own "real" script, and from the "test" > example script. > > all of these scripts are unable to set the focus to the list > view control. > > in my example script I needed to move focus away from the > list view, so I > could show a failure setting focus back to it. I simply did > not understand > what you did when you ran with that and said it was the > problem; I think you > said I could not just choose any control; it might not work? > > so, I'm suggesting you do this part manually with my script > by commenting > out the line which calls "setfocustosomethingelse", and > manually choosing > some other control in the windows explorer window, > alt-tabbing away, and > alt-tabbing back to the windows explorer window. > > my test script will then try to set the list view control > focus, and for me, > will fail. > > Does this help? > > thanks again, > > Chip > >
