[Lazarus] Bug 15390 and Showmodal

zeljko zeljko at holobit.net
Wed Apr 18 20:18:20 CEST 2012


On Wednesday 18 of April 2012 16:47:43 William Oliveira Ferreira wrote:
> 2012/4/17 zeljko <zeljko at holobit.net>
> 
> > **
> > 
> > On Tuesday 17 of April 2012 17:41:54 patspiper wrote:
> > > This is related to bug #15390:
> > > 
> > > 
> > > 
> > > My understanding is that Showmodal blocks until the form is closed.
> > > 
> > > Hiding the form should have no effect.
> > > 
> > > 
> > > 
> > > try
> > > 
> > > Self.Hide;
> > > 
> > > Form2.ShowModal; //<- this should block until Form2 is closed
> > 
> > So, with your explanation: when you hide modal form it should stay in
> > modal loop and application is completelly unresponsive ?
> 
> should do this or raise a exception 'Can't hide a modal form', no? (i
> really don't know, it's a suggestion...)

No need for that. Current solution works perfect, and those guys are arguing 
about incompability with Delphi implementation.

zeljko

> 
> > --
> > ________________________________
> > William de Oliveira Ferreira
> > Bacharel em Sistemas de Informação
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20120418/8949152e/attachment-0003.html>


More information about the Lazarus mailing list