[Lazarus] Bug 15390 and Showmodal

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Thu Apr 19 10:58:58 CEST 2012


2012/4/18 zeljko <zeljko at holobit.net>:
> As I said (my opinion): if Delphi behaviour is to leave app stucked into
> modal loop when form is hidden - it's wrong. Current implementation is fine
> and works fine on all platforms I can test.
.........
> Maybe I will implement it to be delphi compat but first must test it on all
> platforms. Also I would like to have property inside TCustomForm which can
> change behaviour of ShowModal() when Hide() is called.
> 1.I like current implementation because you can have "alive" form to show
> again and again.
> 2.Delphi implementation just hides form but stays in modal loop, and other
> forms are accessible - I don't like this solution but I respect other ppl
> needs.

I wonder how this will be implementated exactly, because depending on
how it is done I can see that it would break in Android.

Android does not allow any kind of long (>1 second) loops in the main
thread. ProcessMessages is unsupported too.

-- 
Felipe Monteiro de Carvalho




More information about the Lazarus mailing list