home *** CD-ROM | disk | FTP | other *** search
/ ftp.tcs3.com / ftp.tcs3.com.tar / ftp.tcs3.com / DRIVERS / Audio / Office2010 / ProPlus.WW / ProPsWW.cab / FORMSFORMTEMPLATE.HTML4 < prev    next >
Text File  |  2007-02-04  |  4KB  |  158 lines

  1. <!-- /*********************************************************************
  2.                                  Notice
  3.  
  4. You may not modify, use, copy or distribute this file or its contents. 
  5. Internal interfaces referenced in this file are nonpublic, unsupported 
  6. and subject to change without notice. These interfaces may not be 
  7. utilized in other software applications or components.
  8.  
  9.  
  10. *********************************************************************/ -->
  11.  
  12. <!-- saved from url=(0025)http://www.microsoft.com/ -->
  13.  
  14. <HTML>
  15. <HEAD>
  16.     <TITLE>Groove Forms Tool - Form</TITLE>
  17.     <STYLE TYPE="text/css">
  18.     .activeTab, .inactiveTab
  19.     {
  20.         cursor:                default;
  21.         height:                18px;
  22.         padding:            2px 8px 2px 8px;
  23.         border-right:        1px solid black;
  24.     }
  25.  
  26.     .activeTab
  27.     {
  28.         background-color:    #DEDEDE;
  29.     }
  30.  
  31.     .inactiveTab
  32.     {
  33.         background-color:    #797979;
  34.         color:                #FFFFFF;
  35.     }
  36.  
  37.     .tabContents
  38.     {
  39.         background-color:    #DEDEDE;
  40.     }
  41.  
  42.     .commandbar
  43.     {
  44.         background-color:    menu;
  45.         border:                1px solid buttonshadow;
  46.         border-bottom-width:0px;
  47.     }
  48.  
  49.     .command, .commandHover, .commandDown
  50.     {
  51.         width:                16px;
  52.         height:                16px;
  53.         padding:            3px;
  54.         border:                1px solid buttonface;
  55.     }
  56.  
  57.     .commandSep
  58.     {
  59.         width:                0px;
  60.         margin:                0px 2px 0px 2px;
  61.         border-left:        1px solid buttonshadow;
  62.         border-right:        1px solid buttonhighlight;
  63.     }
  64.  
  65.     .commandHover
  66.     {
  67.         border-top-color:    buttonhighlight;
  68.         border-right-color:    buttonshadow;
  69.         border-bottom-color:buttonshadow;
  70.         border-left-color:    buttonhighlight;
  71.     }
  72.  
  73.     .commandDown
  74.     {
  75.         border-top-color:    buttonshadow;
  76.         border-right-color:    buttonhighlight;
  77.         border-bottom-color:buttonhighlight;
  78.         border-left-color:    buttonshadow;
  79.     }
  80.     </STYLE>
  81.     <SCRIPT LANGUAGE="JavaScript" SRC="PublicFunctions.js"></SCRIPT> 
  82.     <SCRIPT LANGUAGE="JavaScript" SRC="utilityfunctions.js"></SCRIPT>
  83.     <SCRIPT LANGUAGE="JavaScript" SRC="submit.js"></SCRIPT>
  84.     <SCRIPT LANGUAGE="JavaScript" SRC="validation.js"></SCRIPT>
  85.     <SCRIPT LANGUAGE="JavaScript" SRC="form.js"></SCRIPT>
  86.     <SCRIPT LANGUAGE="JavaScript">
  87.     <!--
  88.     // Put the variables from the querystring into globals.
  89.     getQueryStringVariables();
  90.  
  91.     var g_FormHTML = "";
  92.     var g_ShowBorder = false;
  93.  
  94.     if (g_FormID)
  95.     {
  96.         if (!getScriptHostQI("IGrooveFormsToolUIDelegatePrivate").IsUsableDesignObject(g_FormID))
  97.         {
  98.             g_FormHTML += "<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"100%\" height=\"90%\">";
  99.             g_FormHTML += "<tr>";
  100.             g_FormHTML += "    <td valign=\"middle\" align=\"center\">";
  101.             g_FormHTML += "        <font style=\"font-family:tahoma,verdana,sans-serif; font-size:14pt; color:#bfbfbf;\">";
  102.             g_FormHTML += "            A member of this workspace has updated the design of this form with features that require a later version of Groove Virtual Office. You must update Groove in order to resume using this form.";
  103.             g_FormHTML += "        </font>";
  104.             g_FormHTML += "    </td>";
  105.             g_FormHTML += "</tr>";
  106.             g_FormHTML += "</table>";
  107.  
  108.             // Overload event functions because they are not needed.
  109.             initFormPage = noOp;
  110.             terminateFormPage = noOp;
  111.             beforePrint = noOp;
  112.             afterPrint = noOp;
  113.  
  114.             if (!g_IsSearch && !g_IsPreviewPane && !g_IsFormPreview && !g_IsPrinting)
  115.             {
  116.                 getScriptHostQI("IGrooveFormsToolUIDelegateViewPrivate").SetFocusRecordID(-1);
  117.                 getScriptHostQI("IGrooveFormsToolUIDelegatePrivate").SwitchWebState(FormsUIState_DocumentDisplay, -1, g_IsNew);
  118.             }
  119.         }
  120.         else
  121.         {
  122.             try
  123.             {
  124.                 var Transaction = getScriptHostQI("IGrooveFormsToolUIDelegate").OpenTransaction();
  125.  
  126.                 document.write(getScriptHostQI("IGrooveFormsToolUIDelegateFormPrivate").GetFormStyle(g_FormID));
  127.                 document.write(getScriptHostQI("IGrooveFormsToolUIDelegateFormPrivate").GetFormScripts(g_FormID));
  128.                 g_FormHTML = getScriptHostQI("IGrooveFormsToolUIDelegateFormPrivate").GetFormHTML(g_FormID)
  129.  
  130.                 Transaction.Commit();
  131.             }
  132.             catch (error)
  133.             {
  134.                 Transaction.Abort();
  135.             }
  136.         }
  137.     }
  138.  
  139.     // Overloader function to make event functions do nothing.
  140.     function noOp() { }
  141.     // -->
  142.     </SCRIPT>
  143. </HEAD>
  144. <BODY ONLOAD="initFormPage();" ONBEFOREUNLOAD="terminateFormPage();" ONBEFOREPRINT="beforePrint();" ONAFTERPRINT="afterPrint();">
  145.  
  146. <FORM NAME="GrooveFormBase" ONSUBMIT="return false;">
  147.  
  148.     <SCRIPT LANGUAGE="javascript">
  149.     <!--
  150.     document.write(g_FormHTML);
  151.     //document.write("<textarea rows=25 cols=100>" + g_FormHTML + "</textarea>");
  152.     // -->
  153.     </SCRIPT>
  154.  
  155. </FORM>
  156.  
  157. </BODY>
  158. </HTML>