home *** CD-ROM | disk | FTP | other *** search
/ ftp.tcs3.com / ftp.tcs3.com.tar / ftp.tcs3.com / DRIVERS / Audio / Office2010 / ProPlus.WW / ProPsWW.cab / FORMSVIEWTEMPLATE.HTML3 < prev    next >
Text File  |  2007-02-04  |  3KB  |  65 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 - View</TITLE>
  17.     <SCRIPT LANGUAGE="JavaScript" SRC="utilityfunctions.js"></SCRIPT>
  18.     <SCRIPT LANGUAGE="JavaScript" SRC="view.js"></SCRIPT>
  19.  
  20.     <SCRIPT LANGUAGE="JavaScript">
  21.     <!--
  22.     var QueryString = String(window.location.search).substring(1);
  23.     var g_ViewID = getValueFromQueryString("ViewID", QueryString);
  24.  
  25.     // OnRowDblClick
  26.     document.write("<SCRIPT LANGUAGE=\"JavaScript\" FOR=\"" + g_ViewID + "\" EVENT=\"OnRowDblClick(i_DataList, i_RowID)\">");
  27.     document.write("goOpen(i_RowID);");
  28.     document.write("<" + "/SCRIPT>");
  29.  
  30.     // OnFocusRowChanged
  31.     document.write("<SCRIPT LANGUAGE=\"JavaScript\" FOR=\"" + g_ViewID + "\" EVENT=\"OnFocusRowChanged(i_DataList, i_OldRowID, i_RowID)\">");
  32.     document.write("if (g_DataListInitialized && i_RowID != g_PreviousRecordID)");
  33.     document.write("{");
  34.     document.write("    goPreview(i_RowID);");
  35.     document.write("    goSetFocusRecordID(i_RowID);");
  36.     document.write("}");
  37.     document.write("<" + "/SCRIPT>");
  38.  
  39.     // OnSelectionChanged
  40.     document.write("<SCRIPT LANGUAGE=\"JavaScript\" FOR=\"" + g_ViewID + "\" EVENT=\"OnSelectionChanged(i_DataList)\">");
  41.     document.write("if (g_DataListInitialized)");
  42.     document.write("    goSetSelectedRecordID(i_DataList);");
  43.     document.write("<" + "/SCRIPT>");
  44.  
  45.     // OnContextMenu
  46.     document.write("<SCRIPT LANGUAGE=\"JavaScript\" FOR=\"" + g_ViewID + "\" EVENT=\"OnContextMenu(i_DataList, i_XPos, i_YPos, i_HitTestInfo)\">");
  47.     document.write("if (g_DataListInitialized)");
  48.     document.write("    goContextMenu(i_DataList, i_HitTestInfo.RowID, i_XPos, i_YPos);");
  49.     document.write("<" + "/SCRIPT>");
  50.     // -->
  51.     </SCRIPT>
  52. </HEAD>
  53. <BODY STYLE="padding:0px; margin:0px;" ONLOAD="initViewPage(g_ViewID);" ONBEFOREUNLOAD="terminateViewPage();" ONRESIZE="resizeDataList();" SCROLL="no">
  54.  
  55. <SCRIPT LANGUAGE="javascript">
  56. <!--
  57. if (g_ViewID != "")
  58.     document.write("<OBJECT CLASSID=\"clsid:56A58823-AE99-11D5-B90B-0050DACD1F75\" DATATYPE=\"DataList\" NAME=\"" + g_ViewID + "\" ID=\"" + g_ViewID + "\" WIDTH=\"100%\" HEIGHT=\"100%\" STYLE=\"position:absolute; top:-2px; left:-2px;\"/>");
  59. else
  60.     window.location.href = "FormsHomePage.html";
  61. // -->
  62. </SCRIPT>
  63.  
  64. </BODY>
  65. </HTML>