Hello Cyrille,
| tmpBrowser model |
model := #( b c d v a d f r ).
tmpBrowser := GLMTabulator new.
tmpBrowser row: #list.
tmpBrowser transmit to: #list; andShow: [:a |
a list
display: [:input | input];
yourself ].
tmpBrowser transmit to: #list->#selection; fromOutside: #listToSelect.
tmpBrowser openOn: model.
(tmpBrowser pane port: #listToSelect) value: model second. "set here the one to be selected"
regards,
Hello,Is there a way to set a default selection to a list presentation? so that when I open the browser, the morphic list has already a value selected.I tried that:|tmpBrowser|tmpBrowser := GLMTabulator new.tmpBrowser row: #list.tmpBrowser transmit to: #list; andShow: [:a |a listdisplay: [:input | input];selection: #a;yourself].tmpBrowser openOn: #( b c d v a d f r).but the list still open with nothing selected
_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev