Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /home/delphi7/public_html/479714b078a8d205ac2eb3cada3caabc/sape.php on line 395
Как иммитировать появление формы как нового приложения?



How i can create a form and this form stay in another icon in task bar ? (Looks like a new aplication).



In private clause:

type

  TForm1 = class
(TForm)
  private

    { Private declarations }

    procedure
 CreateParams(var Params: TCreateParams); override;

And, in the implementation:

procedure
 TForm1.CreateParams(var Params: TCreateParams);
begin

  inherited
 CreateParams(Params);
  with
 params do
    ExStyle := ExStyle or
 WS_EX_APPWINDOW;
end
;


Взято с Delphi Knowledge Base