Luiz,

You can clear the text by calling   listButton.setButtonData(null);
Perhaps this should be performed in ListButton#clear().

Chris

On 13 January 2011 12:16, Luiz Gustavo <[email protected]> wrote:

> Hi!
>
> I'm having problems with ListButton.
> When I try to clean a ListButton the last text selected before remains
> selected, even with no item in the ListData of the ListButton.
> I tried listButton.clear() and listButton.getListData().clear(), but with
> none of this I can scape the problem.
> I debugged the application, and the listData of the ListButton is clear
> after getListData().clear(), but the last selected text remains showing.
> See attached image.
>
> Any ideas?
>
> Cheers,
> Luiz Gustavo S. de Souza
>
> http://luizgustavoss.wordpress.com
> http://luizgustavoss.blogspot.com
> http://twitter.com/lugustso
>

Reply via email to