Re: Component calling a form

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: spamfurnace (spamfurnace_at_intermension.com)
Date: 03/15/04


Date: 15 Mar 2004 14:34:45 -0800


> I assume I'm doing something wrong by trying to show a form from a
> component, but don't really know. Can anyone suggest how to do this
> properly?

It a poor design Mike. You can do it but you should really be raising
an event and handling that in some "actual" UI.

If you dont like that suggest and want to do it that way then as far
as im aware there is no *technical* reason why you cant. If forms are
just flashing, maybe their going out of scope/being disposed, or
perhaps they are getting trapped behind the main UI.

I would say try setting form.topmost = true but my first sentence is
my real advice.

hth
Richard


Quantcast