Fabrizio Perin wrote:
Hi, I was wondering how to open a MooseFinder on an element selected in another browser. I tried something like this:
browser := GLMTabulator new. browser column: #functions; column:#finder. browser transmit to: #functions; andShow: [ :a | a list title: 'Functions'; display: [:each | each ]]. browser transmit to: #finder; from: #functions; andShow: [ :a | a finder title: [:each | each mooseName]; ..... ^ browser
but I don't know how to proceed (this is why I added the dots).
Any suggestion? Am I doing it the wrong way?
Cheers, Fabrizio
Try this from Workspace?
| browser finder | browser := GLMTabulator new. finder := GLMFinder new.
finder show: [:a | a list display: [ :x | 1 to: x ]].
browser column: #functions; column: #finder. browser transmit to: #functions; andShow: [ :a | a list title: 'Functions'; display: [:each | each ] ]. browser transmit to: #finder; from: #functions; andShow: [ :a | a custom: finder ]. browser openOn: (1 to: 100).