home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1997 May / Pcwk0597.iso / borland / ib / setups / intrabld / data.z / KBLOGIN.JFM < prev    next >
Text File  |  1996-12-11  |  3KB  |  96 lines

  1. /****************************************************************************\
  2. *                                                                            *
  3. * KbLogin.jfm  --  Knowledge Base Update Login Form                          *
  4. *                                                                            *
  5. * KbLogin.jfm is part of the Knowledge Base prebuilt business solution. It   *
  6. * is called by the Knowledge Base Update form to provide login security.     *
  7. * If a correct user name and password are entered, the update form is opened.*
  8. * This is made possible by setting two custom properties of the login form,  *
  9. * one is a SecurityManager object reference and the other is the update form *
  10. * object reference. The security information can be viewed or modified by    *
  11. * running the apps\security\smadmin.jfm form.                                *
  12. *                                                                            *
  13. * Dependencies:  knowbs31.gif                                                *
  14. *                paper_22.gif                                                *
  15. *                apps\shared\controls.cc                                     *
  16. *                apps\shared\security.jcf                                    *
  17. *                                                                            *
  18. * Updated 11/13/96 by IntraBuilder Samples Group                             *
  19. * $Revision:   1.8  $                                                        *
  20. *                                                                            *
  21. * Copyright (c) 1996, Borland International, Inc. All rights reserved.       *
  22. *                                                                            *
  23. \****************************************************************************/
  24. // {End Header} Do not remove this comment//
  25. // Generated on 11/13/96
  26. //
  27. var f = new kbloginForm();
  28. f.open();
  29. class kbloginForm extends smLoginForm from (_sys.env.home() + "APPS\\SHARED\\SECURITY.JCF"){
  30.    _sys.scripts.load(_sys.env.home() + "APPS\\SHARED\\CONTROLS.CC")
  31.    with (this) {
  32.       color = "ffffc4";
  33.       height = 11;
  34.       left = 0;
  35.       top = 0;
  36.       width = 72;
  37.       title = "Knowledge Base Security";
  38.       background = "filename paper_22.gif";
  39.    }
  40.  
  41.  
  42.    with (this.rule1 = new Rule(this)){
  43.       top = 4;
  44.       size = 2;
  45.       right = 70;
  46.       pageno = 0;
  47.    }
  48.  
  49.  
  50.    with (this.rule2 = new Rule(this)){
  51.       top = 9.5;
  52.       size = 2;
  53.       right = 70;
  54.       pageno = 0;
  55.    }
  56.  
  57.  
  58.    with (this.KnowledgeBaseLogo = new Image(this)){
  59.       height = 3.4167;
  60.       width = 10.25;
  61.       dataSource = "filename KNOWBS31.GIF";
  62.       alignment = 4;
  63.       pageno = 0;
  64.    }
  65.  
  66.  
  67.    with (this.HeadingHTML = new HTML(this)){
  68.       height = 2;
  69.       left = 12;
  70.       width = 58;
  71.       color = "navy";
  72.       text = {||'<H1><FONT SIZE="+4"><FONT COLOR="maroon">L</FONT></FONT>ogin <FONT SIZE="+4"><FONT COLOR="maroon">R</FONT></FONT>equired</H1>'};
  73.       pageno = 0;
  74.    }
  75.  
  76.  
  77.    with (this.hintHTML = new HTML(this)){
  78.       height = 1;
  79.       left = 12;
  80.       top = 2;
  81.       width = 58;
  82.       color = "black";
  83.       text = "(Hint: Use Mark or JosΘ. Password matches user name.)";
  84.    }
  85.  
  86.  
  87.    with (this.GeneratedHTML1 = new GeneratedHTML(this)){
  88.       height = 1;
  89.       top = 10;
  90.       width = 70;
  91.       pageno = 0;
  92.    }
  93.  
  94.  
  95. }
  96.