On Fri, 30 Mar 2012 15:33:08 +0000
Mark Morgan Lloyd <markmll.laza...@telemetry.co.uk> wrote:

> If a custom login form (e.g. specifying a host and port for telnet) is 
> displayed, and the OK/Cancel buttons have modal results, what is the 
> procedure that set the form visible supposed to do pending getting the 
> form's modalResult? Once the form is set invisible, does it have to 
> clear modalResult back to mrNone, or is this done automatically?

A form is shown modal with Form1.ShowModal and that resets the
ModalResult to mrNone.

 
> Put another way, is the original procedure supposed to spin pending the 
> modal result appearing, or is it supposed to return with subsequent 
> processing attached to one of the login form's event handlers (and if so 
> which one)?


Mattias
 

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to