I'm working on modifying the SW portion of an existing in-house VB program (that I didn't write) to put the selected SW properties into config-specific locations. I am trying to determine if the user has clicked out of the program and changed the current SW configuration.
My thought was to use the GotFocus event of the form, so that anytime it received the focus, I would compare the current config name in SW to a stored value. If they differ, the user changed configs some time.
My problem is that the form, for some reason, doesn't see the focus. If I change the "focus" watch to a control on the form, it sees it, but if the user has the cursor in a box on the form, goes out to change the config, and the comes back to the form and doesn't change to another box on the form, then none of the controls on the form see a GotFocus event.
Any thoughts out there?
WT