Yes I want to be able to click in the main form because that is where the 
button is, this is why using modal or disabling the main app won't work.

If it is easier to understand think of a toolbar that lives in the main form 
with several non-modal popup windows. Clicking the toolbar will do something to 
the active popup.

So when you click a button in the toolbar I dont want it to remove focus from 
the active popup, becuase otherwise by the time the button's click fires focus 
has been moved to the main app.

So far a hack that works is to have my own mouseDown handler that runs ahead of 
the SystemManager and stops the event propagating if the target is my button 
but I am not currently sure of the consequences of this.


--- In [email protected], Tom McNeer <tmcn...@...> wrote:
>
> First question would be: do you *want* them to be able to click in the main
> form?
> 
> If not, you could simply set the "modal" property of the popup to "true"
> when you create it.
> 
> 
> 
> 
> -- 
> Thanks,
> 
> Tom
> 
> Tom McNeer
> MediumCool
> http://www.mediumcool.com
> 1735 Johnson Road NE
> Atlanta, GA 30306
> 404.589.0560
>


Reply via email to