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:


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

Reply via email to