Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ALT+TAB

Status
Not open for further replies.

Wolfen12

Programmer
Jul 17, 2007
19
NL
Hi

Does anyone know if it is possible to code the "Alt+tab" function into a application so that the forms(windows) switch between each other, but inside the application itself??

Or does someone have a similar idea

Thank you
 
Bad idea. Your application will work differently than all other Windows apps and frustruate users. Ctrl+Tab is what is designated as the Windows key to switch between windows in an app.

Craig Berntson
MCSD, Visual FoxPro MVP, Author, CrysDev: A Developer's Guide to Integrating Crystal Reports"
 
If your forms are top-level forms (ShowWindow=2), they'll appear in the task bar and be part of the Alt-Tab sequence.

Tamar
 
If I understand you, you want to swtich between forms inside the VFP application? If so you will need to ensure that something, somewhere, is holding an object reference to all active forms (i.e. a "Form Manager" object).

Then all you have to d is have the currently active form call the Form Manager and tell it to activate the required form. You can probably find examples of Form Manager on line, but if not, I can send you one that I have used

----
Andy Kramek
Visual FoxPro MVP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top