Status: New
Owner: ----
Labels: Type-Defect Priority-Medium Milestone-4.8
New issue 968 by usman.bh...(a)gmail.com: Update droplist presentation
selection index
http://code.google.com/p/moose-technology/issues/detail?id=968
I am trying to change dynamically selection index of a droplist in Glamour.
But changing the selectedIndex upon selection does not change anything in
the browser. Here is my code:
|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 :each | (browser paneNamed: #one) presentations
first selectedIndex: 1] entitled: 'select in dropList'
].
browser openOn: 1
Populating the pane port with the selected does change the list items but
it does not update the selected value in the dropdown list.
selectionAct: [:aPres :each | ((browser paneNamed: #one) port: #selection)
value: (1)] entitled: 'select in dropList'
].
Could you suggest how can I update droplist and the list upon the change of
selectedIndex?
--
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