Try this Mark - 

procedure TForm1.FormCreate(Sender: TObject);
begin
  RxLoginDialog1.Active := True;
  if not RxLoginDialog1.Login then begin
    Application.Terminate;
    Exit;
  end;

  //proceed with execution

end;

> Further to this:
> I have tried putting the
> RxLoginDialog1.Active := True; (with this set to False at design time)
> in the FormCreate, FormShow and FormActivate events
> all to no avail.
> 
> Mark

#####################################################################################
This e-mail message has been scanned for Viruses and Content and cleared 
by MailMarshal
For more information please visit www.marshalsoftware.com
#####################################################################################
---------------------------------------------------------------------------
    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"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to