--- a/ComboListV.st Fri Dec 20 12:19:23 1996 +0100
+++ b/ComboListV.st Fri Dec 20 21:10:02 1996 +0100
@@ -5,7 +5,7 @@
category:'Views-Interactors'
!
-!ComboListView class methodsFor:'documentation'!
+!ComboListView class methodsFor:'documentation'!
documentation
"
@@ -180,20 +180,18 @@
!ComboListView methodsFor:'user interaction'!
entryChanged:index
- |what|
+ |what changeArg|
what := list at:index.
field label:what.
-
model notNil ifTrue:[
useIndex ifTrue:[
- self sendChangeMessage:changeMsg with:index
-"/ model value:index
+ changeArg := index
] ifFalse:[
- self sendChangeMessage:changeMsg with:what
-"/ model value:what
- ]
+ changeArg := what
+ ].
+ self sendChangeMessage:changeMsg with:changeArg
].
pullDownButton turnOff.
@@ -201,8 +199,8 @@
"Modified: 4.9.1996 / 22:38:57 / cg"
! !
-!ComboListView class methodsFor:'documentation'!
+!ComboListView class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libwidg2/Attic/ComboListV.st,v 1.7 1996-09-04 21:11:12 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libwidg2/Attic/ComboListV.st,v 1.8 1996-12-20 20:10:02 cg Exp $'
! !
--- a/ComboListView.st Fri Dec 20 12:19:23 1996 +0100
+++ b/ComboListView.st Fri Dec 20 21:10:02 1996 +0100
@@ -5,7 +5,7 @@
category:'Views-Interactors'
!
-!ComboListView class methodsFor:'documentation'!
+!ComboListView class methodsFor:'documentation'!
documentation
"
@@ -180,20 +180,18 @@
!ComboListView methodsFor:'user interaction'!
entryChanged:index
- |what|
+ |what changeArg|
what := list at:index.
field label:what.
-
model notNil ifTrue:[
useIndex ifTrue:[
- self sendChangeMessage:changeMsg with:index
-"/ model value:index
+ changeArg := index
] ifFalse:[
- self sendChangeMessage:changeMsg with:what
-"/ model value:what
- ]
+ changeArg := what
+ ].
+ self sendChangeMessage:changeMsg with:changeArg
].
pullDownButton turnOff.
@@ -201,8 +199,8 @@
"Modified: 4.9.1996 / 22:38:57 / cg"
! !
-!ComboListView class methodsFor:'documentation'!
+!ComboListView class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libwidg2/ComboListView.st,v 1.7 1996-09-04 21:11:12 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libwidg2/ComboListView.st,v 1.8 1996-12-20 20:10:02 cg Exp $'
! !