Ken Dibble wrote on 2012-05-13: > Hi Tracy, > > Possibly using a toolbar is part of the problem. There are issues with > focus with some controls on a toolbar. > > Try this: >
Ken, When using the toolbar floating around the screen, there isn't a problem. When placing my currently container (which was dropped into the toolbar), directly on a form, and the controls it is interacting with are also on that container level, there isn't a problem. The code you showed is very similar to the code I've had in production for over a year. I've determined the behavior is specific to the scrollbar container I've added to this form. The Original Code for the scrollbar container is from FoxPro Advisor 10-2005. Above the keyboard container is the scrollbar container. This container contains the textboxes the end user will be using. Pressing standard keys works like I expect them to work. The only key that isn't working well is the TAB key. It appears to be working correctly, until I tap another key. The focus moves to the keyboard container, then all the buttons are disabled, then focus moves to the next control on the form level. I've placed a transparent container above the TAB key and call the click of the TAB key. It appears to have solved my problem. Tracy Pearson PowerChurch Software _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[email protected] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

