AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

Splash and taskbutton

Ein Thema von WojTec · begonnen am 8. Feb 2012
Antwort Antwort
WojTec

Registriert seit: 17. Mai 2007
480 Beiträge
 
Delphi XE6 Professional
 
#1

Splash and taskbutton

  Alt 8. Feb 2012, 17:57
Delphi-Version: 2010
I want to add splash:

Delphi-Quellcode:
begin
  Application.ProcessMessages;

  with TForm1.Create(nil) do
  try
    Show;

    Application.Initialize;
    Application.MainFormOnTaskbar := False;
    Application.Title := 'Project5';
    Application.CreateForm(TMainForm, MainForm);

    Sleep(1000);
  finally
    Free;

    Application.MainFormOnTaskbar := True;
    Application.Run;
  end;
end.
After F9 on 7 I have 2 taskbuttons: first when splash i visible, then it is destroyed, and another one when main form i showed. On XP it is showed after splash (when splash just icon is visible in taskbar). What I have to do to get one taskbutton?
  Mit Zitat antworten Zitat
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 13:19 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz