Paul : 
>Can you do the Evaluation in the DPR and Create or not Create the Logon 
>Form ?

Of course I can - but I'm trying to avoid too much rewriting and there's a
hell of a lot of business logic in the Form Activate and On Click event
handlers. 

Nello :
>how are you simulating the "ok" click?

By issuing a btnOK.click at the end of the FormActivate code.

>be sure you are setting ModalResult:=mrOK  or ModalResult:=mrCancel
>depending on the outcome you want to force.

The button has ModalResult set to mrOK, but the onClick handler will change
this if certain conditions aren't met.

Stephen
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"

Reply via email to