Re: [Pharo-users] Does anyone know Spec?

2019-05-23 Thread Esteban Lorenzano
Hi, You need to use - whenActivatedDo: or - whenSelectionChangedDo: Both are conceptually different but depending on your selection of activateOnSingleClick or activateOnDoubleClick you can control what to do. (Which reminds me we still need a forced double click action inclusive when

[Pharo-users] Does anyone know Spec?

2019-05-22 Thread Steve Quezadas
I created a simple listbox. It looks like this: https://s3.amazonaws.com/steverstuff/items.png If I hit a specific selection, say "Item B", how can I make smalltalk run an arbitrary piece of code? (ie: "Transcript show: 'got here'"). Method "whenSelectedItemChanged" should, in theory, do this.