i looked at this thing yesterday and completely missed that.
nice catch
-ns
----- Original Message -----
From: "Edward Aretino" <[EMAIL PROTECTED]>
To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]>
Sent: Tuesday, September 11, 2001 5:31 AM
Subject: Re: [DUG]: Where to enable Login Component
> {$DEFINE LOGIN} is what you would use in code - at the top of your unit
> for instance. In the project options, just use: LOGIN
>
> Ed
>
>
> At 13:45 10/09/2001 +1200, you wrote:
> >Hi
> >
> >I want to require a login to my app on one site's copy only.
> >
> >I dropped an RXLib Login component onto the main for of the app and
> >provided some user and password checking code.
> >
> >At design time I can set the login component to active or inactive.
> >
> >That's all works fine BUT
> >
> >If I go Project/Options and add a conditional define {$DEFINE LOGIN}
> >
> >and then do
> >
> >procedure TMainForm.FormCreate(Sender: TObject);
> >begin
> > {$IFDEF LOGIN} RxLoginDialog1.Active := True;
> > {$ENDIF}
> >end;
> >Rebuild - run
> >
> >it doesn't work.
> >
> >What am I missing please?
> >
> >TIA
> >
> >Mark
>
> --------------------------------------------------------------------------
-
> 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/
>
---------------------------------------------------------------------------
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/