better help tool connection
authortz
Mon, 09 Mar 1998 21:47:21 +0100
changeset 716 7f95684c7f7d
parent 715 7eebac822985
child 717 fb90f37268be
better help tool connection
MenuEditor.st
--- a/MenuEditor.st	Mon Mar 09 21:45:36 1998 +0100
+++ b/MenuEditor.st	Mon Mar 09 21:47:21 1998 +0100
@@ -263,11 +263,11 @@
           #window: 
            #(#WindowSpec
               #name: 'unnamed canvas'
-              #layout: #(#LayoutFrame 302 0 220 0 568 0 538 0)
+              #layout: #(#LayoutFrame 72 0 301 0 338 0 619 0)
               #label: 'unnamed canvas'
               #min: #(#Point 10 10)
               #max: #(#Point 1160 870)
-              #bounds: #(#Rectangle 302 220 569 539)
+              #bounds: #(#Rectangle 72 301 339 620)
               #usePreferredExtent: false
           )
           #component: 
@@ -284,7 +284,6 @@
                  #(#InputFieldSpec
                     #name: 'nameKeyField'
                     #layout: #(#LayoutFrame 110 0 15 0 -5 1.0 37 0)
-                    #activeHelpKey: #basicsNameKey
                     #tabable: true
                     #model: #nameKey
                     #type: #symbolOrNil
@@ -1514,11 +1513,13 @@
     ^menu
 !
 
-useHelpDictionary:dictionaries
+useHelpTool: aHelpTool
 
     self noteBookView.
-    self helpTool helpSpecFrom: specClass.
-    self helpTool dictionaries: dictionaries
+
+    self helpTool helpSpecFrom: aHelpTool specClass.
+    self helpTool dictionaries: aHelpTool dictionaries.
+    self helpTool dictionary:   aHelpTool dictionary
 ! !
 
 !MenuEditor methodsFor:'aspects'!