04-21-2011, 02:31 AM
I know how to attach the press of the enter button to a particular button in my dialog. I also know how to prevent the enter button from performing any action in my dialog. But now I'm running into a problem.. I have a multi page dialog. Some pages have a browser in it and others have messages, child dialogs, etc.. and each page has a url search bar at the top. The problem I'm having is, if you were to type in www.google.com for instance you would normally hit enter to activate the "go" button. But, if you were typing in a search query into google search engine and hit enter, it would activate their search button. Or if a message pops up you could normally hit enter to activate the OK button. Etc... How can I allow the enter to work only with what I'm working with?