[api-dev] Re: missing setSelectedItem() method in XComboBox interface

2011-10-15 Thread Bernard Marcelly

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 
want to select:

  myControl.Text = yellow

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

Regards
  Bernard


Message de Gerardo Gómez  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

--
-
To unsubscribe send email to dev-unsubscr...@api.openoffice.org
For additional commands send email to sy...@api.openoffice.org
with Subject: help


[api-dev] Re: missing setSelectedItem() method in XComboBox interface

2011-10-15 Thread Gerardo Gómez
Oh!, thank you a lot, i haven't seen that method. Now i know i don't need to
create a bug ticket.

On Sat, Oct 15, 2011 at 7:44 AM, Bernard Marcelly marce...@club-internet.fr
 wrote:

 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
 want to select:
  myControl.Text = yellow

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

 Regards
  Bernard


 Message de Gerardo Gómez  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

 --
 --**--**-
 To unsubscribe send email to 
 dev-unsubscribe@api.**openoffice.orgdev-unsubscr...@api.openoffice.org
 For additional commands send email to sy...@api.openoffice.org
 with Subject: help

-- 
-
To unsubscribe send email to dev-unsubscr...@api.openoffice.org
For additional commands send email to sy...@api.openoffice.org
with Subject: help