2 page_header("columns", "ESP registry edit", "esptest");
5 <script type="text/javascript" src="/scripting/client/encoder.js"></script>
6 <script type="text/javascript" src="/scripting/client/call.js"></script>
7 <script type="text/javascript" src="/scripting/client/regedit.js"></script>
9 <h1>Registry Editor</h1>
11 <script type="text/javascript">
13 /*** init the page for qooxdoo ***/
14 window.application.main = function()
16 var doc = this.getClientWindow().getDocument();
17 var inlineWidget = new QxInline;
18 var qwidget = new QxWidget;
19 qwidget.setHeight(800);
20 qwidget.setWidth("100%");
21 qwidget.setBorder(QxBorder.presets.groove);
23 var btn1 = new QxButton("Registry Editor");
24 btn1.set({ top: 20, left : 30 });
25 btn1.addEventListener("click", function() {
26 var regWindow = new QxWindow("Registry Editor");
32 setResizeMethod("frame");
35 var regedit = regedit_widget("ncalrpc:");
36 regWindow.add(regedit);
37 qwidget.add(regWindow);
38 regWindow.setVisible(true);
42 inlineWidget.add(qwidget);
43 doc.add(inlineWidget, "canvas");
48 <div id="canvas" style="overflow:hidden;position:static;margin-top:38px;margin-left:10px;margin-right:700px;width:700px"></div>