[Lazarus] Custom login forms and modal results

Mark Morgan Lloyd markMLl.lazarus at telemetry.co.uk
Fri Mar 30 18:46:34 CEST 2012


Mattias Gaertner wrote:
> On Fri, 30 Mar 2012 15:33:08 +0000
> Mark Morgan Lloyd <markMLl.lazarus at 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.

Thanks, got it.

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