home *** CD-ROM | disk | FTP | other *** search
Wrap
/****************************************************************************\ * * * EmpLogin.jfm -- Employee Security Login Form * * * * EmpLogin.jfm is part of the Phone Book prebuilt business solution. It is * * called by the udpate form to force the user to enter a username and pass- * * word. The update form sets two custom properties of this form, one is the * * form reference to the update form itself, the other is a SecurityManager * * object. If a correct username and password are entered, then the update * * form is opened. The real logic of the login form is in the base class. * * The base class is smLoginForm in the file Shared\security.jcf. This form * * simply provides a user interface compatible with the rest of the Phone * * Book solution. * * * * Dependencies: phonbk31.gif * * apps\shared\controls.cc * * * * Updated 11/12/96 by IntraBuilder Samples Group * * $Revision: 1.5 $ * * * * Copyright (c) 1996, Borland International, Inc. All rights reserved. * * * \****************************************************************************/ // {End Header} Do not remove this comment// // Generated on 11/12/96 // var f = new emploginForm(); f.open(); class emploginForm extends smLoginForm from (_sys.env.home() + "APPS\\SHARED\\SECURITY.JCF") { _sys.scripts.load(_sys.env.home() + "APPS\\SHARED\\CONTROLS.CC") with (this) { color = "cae4ff"; height = 11; left = 0; top = 0; width = 74; title = "Phone Book Security"; } with (this.rule1 = new Rule(this)){ top = 4.5; size = 2; right = 70; pageno = 0; } with (this.rule2 = new Rule(this)){ top = 9.5; size = 2; right = 70; pageno = 0; } with (this.PhoneBookLogo = new Image(this)){ height = 3.4167; width = 10.25; dataSource = "filename PHONBK31.GIF"; alignment = 4; pageno = 0; } with (this.HeadingHTML = new HTML(this)){ height = 1.5; left = 12; width = 58; color = "853a1a"; text = "<H1>Login Required</H1>"; pageno = 0; } with (this.hintHTML = new HTML(this)){ height = 2; left = 12; top = 2; width = 58; color = "black"; text = "(Hint: Use any employee's first name, such as Stacie or Leigh. Password matches name. Managers, such as Dorothy or Erik, may update all records.)"; } with (this.GeneratedHTML1 = new GeneratedHTML(this)){ height = 1; top = 10; width = 70; pageno = 0; } }