On 28/11/2011, Flávio Etrusco <flavio.etrusco@....> wrote: > > I have to agree this is a very odd interface. IMHO setting a property > is expected to return quickly; a call that's meant to be used as > "program loop" should be a explicit method and named accordingly... > (Listen/Run/Execute/ActivateAndWait/etc)
Definitely! Currently .Active := True is a blocking call, but .Active := False is not. And as you said, there is no hint that calling Active := true starts it's own program loop. -- Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal