Delphi Pages Forums  

Go Back   Delphi Pages Forums > Delphi Forum > General

Lost Password?

Reply
 
Thread Tools Display Modes
  #1  
Old 01-14-2006, 01:14 PM
HMG HMG is offline
Senior Member
 
Join Date: Oct 2005
Posts: 361
Default Hide Forms From ALT+Tab

I have a program consisting of a number of forms. By accident I found that when a press Alt+tab all forms ar shown in the list named "Form1" etc. Now this is simply not acceptable. How do I make my program show only one icon named "project name"?
Reply With Quote
  #2  
Old 01-14-2006, 03:07 PM
gLes gLes is offline
Senior Member
 
Join Date: Jan 2001
Posts: 2,273
Default RE: Hide Forms From ALT+Tab

Your forms should be the childforms of your mainform, so like if you create them dynamically you should create them like this:

[delphi]FormX := TFormX.Create(MainForm);[/delphi]

gLes
Reply With Quote
  #3  
Old 01-15-2006, 03:15 AM
HMG HMG is offline
Senior Member
 
Join Date: Oct 2005
Posts: 361
Default RE: Hide Forms From ALT+Tab

I tried replacing [delphi]Form2.Show[/delphi] with [DELPHI]form2 := form2.create(form1)[/DELPHI] but this rendered an error message saying that "A component named ImageShape1 already exists" ImageShape1 is the component I use to shape form2.

How should I use this?
Reply With Quote
  #4  
Old 01-15-2006, 06:50 AM
Thunderbolt Thunderbolt is offline
Senior Member
 
Join Date: Dec 2003
Posts: 166
Default RE: Hide Forms From ALT+Tab

Make sure that the Application Title has been set in Project > Options.

If I helped you, please click Accept as answer.
I will accept posts that answer my question effectively.

Help the local police, beat yourself up!

http://www.thunderbolttactical.net
[sup]From the mind, and keyboard of Thunderbolt[/sup]
Reply With Quote
  #5  
Old 01-15-2006, 07:37 AM
HMG HMG is offline
Senior Member
 
Join Date: Oct 2005
Posts: 361
Default RE: Hide Forms From ALT+Tab

The title is set.
Reply With Quote
  #6  
Old 01-15-2006, 03:03 PM
gLes gLes is offline
Senior Member
 
Join Date: Jan 2001
Posts: 2,273
Default RE: Hide Forms From ALT+Tab

Is this form autocreated? (Is it listed in the Project file like this: [delphi]Application.CreateForm(TForm2, Form2);[/delphi]?)

gLes
Reply With Quote
  #7  
Old 01-16-2006, 02:07 AM
HMG HMG is offline
Senior Member
 
Join Date: Oct 2005
Posts: 361
Default RE: Hide Forms From ALT+Tab

yes
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT. The time now is 11:46 AM.


Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2017, vBulletin Solutions, Inc.