WOO HOO!!!

That'll do nicely, thanks Chris!!

Very much appreciated. Not I just have to abstract that out into a base form
:)

(also, thanks to everyone else who suggested solutions - your all
wounderfull :) )

N
--
Nic Wise - 021.676.418 / [EMAIL PROTECTED] / Inprise/Borland New Zealand
Is it not a foolish man, said little Woo, who keeps all his chickens in his
trousers?
For at best, will he not suffocate his chickens, and, and worst, will he not
disappoint the ladies in the village?  --Alexi Sayle



----- Original Message -----
From: "Chris Crowe" <[EMAIL PROTECTED]>
To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]>
Sent: Monday, February 28, 2000 1:48 PM
Subject: RE: [DUG]: more questions


> You could try this Nick..
>
> type
>   TForm2 = class(TForm)
>     procedure FormClose(Sender: TObject; var Action: TCloseAction);
>   private
>     { Private declarations }
>   public
>     { Public declarations }
>     procedure CreateParams(var Params: TCreateParams); override;
>   end;
>
> var
>   Form2: TForm2;
>
> implementation
>
> {$R *.DFM}
>
> procedure TForm2.FormClose(Sender: TObject; var Action: TCloseAction);
> begin
>    Action := cafree;
> end;
>
> procedure TForm2.CreateParams(var Params: TCreateParams);
> begin
>   inherited CreateParams(Params);
>   Params.WndParent:= 0;
> end;
>
> If the main form is closed ALL the windows are closed. You normally hide
the
> main form, or stop it from closing if there are child windows open.
>
> You could keep a Tlist of which windows are open...
>
> Chris
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Nic Wise
> Sent: Thursday, 24 February 2000 11:28
> To: Multiple recipients of list delphi
> Subject: [DUG]: more questions
>
>
> Hopefully, a little better worded this time :)
>
> First up:
>
> I have an app that is multi-form, ie I do a lot of creating forms, calling
> show, and leaving it (it caFree's when its closed). These windows,
however,
> do not show up on the task bar (ie, only 1 taskbar button per app). Is
there
> any known way to make them show up - and make them alt-tab-able so I can
go
> between windows, kind alike how Netscape does it, or IE when you have more
> than one window open. Multiple apps is NOT an option.
>
> Second up:
> TDateTimePicker has to be about the most ugly and useless way to select
> dates - the date selector is fine, but the edit control is, well, crap. I
> want similar functionallity on a TSpeedButton (ie, drop the calendar down,
> allow the user to select a date, hide it again). Anyone know how to make
it
> pop up, ala a pop-up menu? The source is not exactly easy to follow.
>
> TIA.
>
> N
> --
> Nic Wise - 021.676.418 / [EMAIL PROTECTED]
> Is it not a foolish man, said little Woo, who keeps all his chickens in
his
> trousers?
> For at best, will he not suffocate his chickens, and, and worst, will he
not
> disappoint the ladies in the village?  --Alexi Sayle
>
>
>
>
>
> --------------------------------------------------------------------------
-
>     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
>
> --------------------------------------------------------------------------
-
>     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
>

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to