home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1997 May
/
Pcwk0597.iso
/
borland
/
ib
/
setups
/
intrabld
/
data.z
/
KBERROR.JFM
< prev
next >
Wrap
Text File
|
1996-12-11
|
4KB
|
136 lines
/****************************************************************************\
* *
* KBError.jfm -- Knowledge Base Error Form *
* *
* KBError.jfm is part of the Knowledge Base solution application. It is used *
* by the kbupdate form to indicate that an error occured. *
* *
* Dependencies: knowbs31.gif *
* homepg31.gif *
* paper_22.gif *
* apps\shared\controls.cc *
* *
* Links to: ibapps/index.htm *
* *
* Updated 11/13/96 by IntraBuilder Samples Group *
* $Revision: 1.6 $ *
* *
* Copyright (c) 1996, Borland International, Inc. All rights reserved. *
* *
\****************************************************************************/
// {End Header} Do not remove this comment//
// Generated on 11/13/96
//
var f = new kberrorForm();
f.open();
class kberrorForm extends Form {
_sys.scripts.load(_sys.env.home() + "APPS\\SHARED\\CONTROLS.CC")
with (this) {
color = "ffffc4";
height = 14.5;
left = 0;
top = 0;
width = 62;
title = "Knowledge Base Error";
background = "filename PAPER_22.GIF";
}
with (this.rule1 = new Rule(this)){
top = 4;
size = 2;
right = 60;
}
with (this.rule2 = new Rule(this)){
top = 8.5;
size = 2;
right = 60;
}
with (this.rule3 = new Rule(this)){
top = 13;
size = 2;
right = 60;
}
with (this.KnowledgeBaseLogo = new Image(this)){
height = 3.4167;
width = 10.25;
dataSource = "filename KNOWBS31.GIF";
alignment = 4;
}
with (this.HeadingHTML = new HTML(this)){
height = 2;
left = 12;
width = 48;
color = "navy";
text = {||'<H1><FONT SIZE="+4"><FONT COLOR="maroon">K</FONT></FONT>nowledge <FONT SIZE="+4"><FONT COLOR="maroon">B</FONT></FONT>ase <FONT SIZE="+4"><FONT COLOR="maroon">E</FONT></FONT>rror</H1>'};
}
with (this.errorHTML = new HTML(this)){
height = 2;
top = 5;
width = 60;
color = "black";
text = "Insuffient rights to load update form.";
}
with (this.HomePageLinkImage = new Image(this)){
onImageClick = class::link_to_home_page;
height = 3.4167;
top = 9;
width = 10.25;
dataSource = "filename HOMEPG31.GIF";
alignment = 4;
}
with (this.HomePageLinkHTML = new HTML(this)){
height = 1;
left = 12;
top = 9;
width = 48;
color = "black";
text = "<A HREF='/ibapps/index.htm'>Return to Home Page</A>";
}
with (this.GeneratedHTML = new GeneratedHTML(this)){
height = 1;
top = 13.5;
width = 58;
}
with (this.backButton = new ServerBackButton(this)){
visible = false;
top = 7;
width = 10.5;
}
function link_to_home_page()
{
location.href="/ibapps/index.htm";
}
function setError(error)
{
this.errorHTML.text = error;
}
function enableBackButton()
{
this.backButton.visible = true;
}
}