Re: missing setSelectedItem() method in XComboBox interface

Bernard Marcelly <[email protected]> Sat, 15 Oct 2011 14:44:33 +0200
Newsgroups gmane.comp.openoffice.devel.api
Message-ID <[email protected]>
Hi Gerardo,
There are two ways to select an item of a ComboBox.
 From the model of the ComboBox, set the Text property to the value that =
you=20
want to select:
   myControl.Text =3D "yellow"

 From the view of the control, use the setText() method:
   myControlView.setText("yellow")

Regards
   Bernard


Message de Gerardo G=F3mez  date 2011-10-15 00:54 :
> As far as i know, there isn't any setSelectedItem() method in XComboBox
> interface, i don't know if i need to make a new bug ticket for this one=
, if you
> know of an alternative to this please let me know
--=20
-----------------------------------------------------------------
To unsubscribe send email to [email protected]
For additional commands send email to [email protected]
with Subject: help