useIndex was missing
authorca
Tue, 26 Aug 1997 17:38:03 +0200
changeset 1311 5230e0dfbb27
parent 1310 bd6ad7f1fda9
child 1312 eaa44f7649f5
useIndex was missing
PopUpList.st
--- a/PopUpList.st	Tue Aug 26 17:32:48 1997 +0200
+++ b/PopUpList.st	Tue Aug 26 17:38:03 1997 +0200
@@ -546,6 +546,14 @@
     defaultLabel := label
 !
 
+useIndex
+    "tell the popuplist to pass the index (instead of the value)
+     to both the actionBlock and model. Notice, that if you use a model,
+     the default changeSelector is not ok for using index and a SelectionInList"
+
+    ^ useIndex
+!
+
 useIndex:aBoolean 
     "tell the popuplist to pass the index (instead of the value)
      to both the actionBlock and model. Notice, that if you use a model,
@@ -939,5 +947,5 @@
 !PopUpList class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libwidg/PopUpList.st,v 1.50 1997-06-04 11:33:43 ca Exp $'
+    ^ '$Header: /cvs/stx/stx/libwidg/PopUpList.st,v 1.51 1997-08-26 15:38:03 ca Exp $'
 ! !