[Lazarus] Custom login forms and modal results

Mark Morgan Lloyd markMLl.lazarus at telemetry.co.uk
Fri Mar 30 17:33:08 CEST 2012


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?

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)?

-- 
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]




More information about the Lazarus mailing list