Board index » delphi » "Binding" forms to main form

"Binding" forms to main form

I use Delphi 1.0 in Win95. If I show a form as modal and click on the
application's button in the task bar, the main form comes to the front
but then the application ends up "locked" as it is not possible to get
to the modal form behind the main form.

I know it is possible to "bind" the forms to the main form so that
when the task bar button is clicked the modal form is shown in front
of the main form. Can anyone tell me how to do this please?

Andy.

 

Re:"Binding" forms to main form


Quote
Andy Ingham wrote:

> I use Delphi 1.0 in Win95. If I show a form as modal and click on the
> application's button in the task bar, the main form comes to the front
> but then the application ends up "locked" as it is not possible to get
> to the modal form behind the main form.

  I've checked my programs, and I can't make it do what you've
appearantly got it doing....  (I'm using Win95 & Delphi 2.0 tho...)
I've checked both my forms stored in a .DLL AND those stored in the
program...  NONE of them do the problem you've been getting...

--
Jason
E...@DarkElf.reno.nv.us

Re:"Binding" forms to main form


Andy Ingham <aing...@rmplc.co.uk> wrote in article
<5da40t$a7...@panther.rmplc.co.uk>...

Quote
> I use Delphi 1.0 in Win95. If I show a form as modal and click on the
> application's button in the task bar, the main form comes to the front
> but then the application ends up "locked" as it is not possible to get
> to the modal form behind the main form.

> I know it is possible to "bind" the forms to the main form so that
> when the task bar button is clicked the modal form is shown in front
> of the main form. Can anyone tell me how to do this please?

> Andy.

We've got the same problem. It seems that when a form created in a dll is
displayed over a
main form in the executable and then a system dialog is displayed, the dll
window disappears
behind the main window. This happens only the first time the dialog is
displayed, the second time
everything works as it should.

No sollution yet though, sorry...

Other Threads