Re: Before Dropdown

2003-10-22 Thread Friedger
I found a solution to dynamically change on item. That it ok for my purposes, although not very elegant. Friedger {let counter:int} {let f-value:String = {String counter}} {let f:Frame = {Frame f-value}} {let item:ListValueItem = {ListValueItem "do-not-care", label = f } }

Re: Before Dropdown

2003-10-21 Thread Friedger
> Anyway, the only way I've managed to get what I think you're looking for is > to modify the actual StandardDropdownButton class itself, and I believe this > applies to both DropdownLists and ComboBoxes. Thanks John. At least I know that it is not a trivial problem. Subclassing StandardDropdownB

Re: Before Dropdown

2003-10-21 Thread John Chisholm
]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 21, 2003 2:25 PM Subject: Re: Before Dropdown > > > > > The DropdownListUI has a thing called StandardDropdownButton. That object > > has an {on-pointer-press} method that appears to respond, at the point I > >

Re: Before Dropdown

2003-10-21 Thread Friedger
> > The DropdownListUI has a thing called StandardDropdownButton. That object > has an {on-pointer-press} method that appears to respond, at the point I > think you're interested, to the user clicking on the DropdownList's button I checked that but seems not to work. Friedger {define-class publi

Re: Before Dropdown

2003-10-21 Thread John Chisholm
uot;Curlbreaker-l" <[EMAIL PROTECTED]> Sent: Tuesday, October 21, 2003 11:31 AM Subject: Before Dropdown > Hi, > I would like to update items in a dropdownlist just before the dropdown is > going to be shown. How can I do that? > > Adding a PointerPress event to the butt

Before Dropdown

2003-10-21 Thread Friedger
Hi, I would like to update items in a dropdownlist just before the dropdown is going to be shown. How can I do that? Adding a PointerPress event to the button does not work. I tried to subclass StandardComboBoxUI but couldn't see where to add the hook for the update. Any suggestions? Friedger