Comment #3 on issue 967 by chisvasi...(a)gmail.com: Cannot change the
selection index dynamically in drop down list presentations
http://code.google.com/p/moose-technology/issues/detail?id=967
Now whenever the selection of a drop down presentation is changed the
selection index is updated, both visibly and in the presentation. The
following code should work. Still the selectionIndex is not a port so just
setting it and calling update on the presentation will not update the
selection port.
|browser |
browser := GLMTabulator new.
browser row: #one size: 30; row: #two.
browser transmit to: #one; andShow: [:a |
a dropDownList
display: [:x | 1 to: 12 ];
selectedIndex: 10 ].
browser transmit from: #one; to: #two; andShow: [:a |
a list
display: [:x | 1 to: x ];
selectionAct: [:aPres | ((browser paneNamed: #one) port: #selection)
value: aPres selection] entitled: 'select in dropList'
].
browser openOn: 1.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings