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
BEGIN:VCARD
VERSION:2.1
N:Howard;Mark
FN:Mark Howard
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:20010910T014529Z
END:VCARD

Reply via email to