Salome HOME
Porting GUI documentation on Doxygen tool.
[modules/smesh.git] / doc / salome / gui / SMESH / whiform.htm
1 <html>
2 <head>
3 <title>Index form</title>
4
5 <meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">
6 <meta name="description" content="WebHelp 5.50">
7 </head>
8 <style>
9 <!--
10 body {margin:0;}
11 -->
12 </style>
13 <body bgcolor="#c0c0c0">
14 <script language="javascript" src="whver.js"></script>
15 <script language="javascript1.2" src="whmsg.js"></script>
16 <script language="javascript1.2" src="whproxy.js"></script>
17 <script language="javascript1.2" src="whutils.js"></script>
18 <script language="javascript1.2" src="whform.js"></script>
19 <script language="javascript1.2">
20 <!--
21 function indexLookup(bCR)
22 {
23         var strInput = document.IndexInputForm.keywordField.value.toUpperCase();
24         if (strInput != "") {
25                 var oParam = new Object();
26                 oParam.sInput = strInput;
27                 oParam.bCR = bCR;
28                 var oMessage = new whMessage(WH_MSG_SEARCHINDEXKEY, this, 1, oParam);
29                 SendMessage(oMessage);
30         }
31         if (gbMac) {
32                 document.IndexInputForm.keywordField.focus();
33         }
34 }
35
36 function window_Unload()
37 {
38         UnRegisterListener2(this, WH_MSG_SHOWTOC);
39         UnRegisterListener2(this, WH_MSG_SHOWIDX);
40         UnRegisterListener2(this, WH_MSG_SHOWFTS);
41         UnRegisterListener2(this, WH_MSG_SHOWGLO);
42 }
43
44 function onSendMessage(oMessage)
45 {
46         if (oMessage.nMessageId == WH_MSG_SHOWIDX)
47         {
48                 document.IndexInputForm.keywordField.focus();
49         }
50         else if (oMessage.nMessageId == WH_MSG_SHOWFTS ||
51                 oMessage.nMessageId == WH_MSG_SHOWTOC || 
52                 oMessage.nMessageId == WH_MSG_SHOWGLO)
53         {
54                 document.IndexInputForm.keywordField.blur();
55         }
56         return true;
57 }
58
59 if (window.gbWhForm)
60 {
61         RegisterListener2(this, WH_MSG_SHOWTOC);
62         RegisterListener2(this, WH_MSG_SHOWIDX);
63         RegisterListener2(this, WH_MSG_SHOWFTS);
64         RegisterListener2(this, WH_MSG_SHOWGLO);
65         window.onunload=window_Unload;
66         window.onload = init;
67         gfunLookUp = indexLookup;
68         gfunInit = null;
69         gstrFormName = "IndexInputForm"
70         gsTitle = "Type in the keyword to find:";
71         gsTitle = "Type in the keyword to find:";
72
73         
74         
75         
76         
77         
78         
79         setGoText("Go");
80         setFont("Title", "Arial","9pt","#000000","normal","normal","none");
81         
82         
83         document.write(getFormHTML());
84         writeFormStyle();
85 }
86 else
87         document.location.reload();
88 //-->
89 </script>
90 </body>
91 </html>