Ctrl-tab is a standard windows shortcut for switching between MDI-childwindows in an MDI application, just as alt-tab switches between applications. Wanting non MDI windows in an app to act similarly isn't a bad idea, since delphi itself uses ctrl-tab to switch from one editfile to the next (and ctrl-shift-tab in reverse order) You might have trouble trapping the key though, since it's a windows key, it might get lost in the vcl ... In worst case scenario you might need to set up your own message handler and trap wm_keydown / wm_keyup messages.
here's an example of a message handler that is used for key-trapping http://www.latiumsoftware.com/en/delphi/00047.php or just google for a combination of these : delphi application onmessage vk_tab wkg Orca Gent, Belgium ----- Original Message ----- From: "Ross Levis" <[EMAIL PROTECTED]> To: "'Borland's Delphi Discussion List'" <[email protected]> Sent: Thursday, January 31, 2008 11:25 AM Subject: Control+Tab >A few users have mentioned that many applications utilize Ctrl+Tab to > navigate around open non-modal windows within the application. Some blind > users are wanting my app to do the same. Is there a simple way to do > this? > It's a shame Delphi doesn't add this to applications automatically. > > Currently all I can think of is to add an ActionList keyboard shortcut to > every form to detect the key sequence, and use TScreen.Forms[] in a loop > to > check for the next visible window and bring it to the front. Is that the > easiest way? > > Is there a simple way to define an application wide keyboard shortcut? > > Thanks, > Ross. > > _______________________________________________ > Delphi mailing list -> [email protected] > http://lists.elists.org/cgi-bin/mailman/listinfo/delphi _______________________________________________ Delphi mailing list -> [email protected] http://lists.elists.org/cgi-bin/mailman/listinfo/delphi

