Hey Tobias, Tobias Krais schrieb: > Hi together, > > I am currently implementing a little dialog with an > UnoControlListBoxModel. Now I want to preselect an entry of the list. > How can I do this? I tried the SelectedItems option, but it did not work.
Use the makeVisible(iPos) Methode, this will show the entry with the number iPos (SelectedItemPos). So, select your entry, then XListBox.makeVisible(XListBox.SelectedItemPos) Hope, it helps, regards Thomas -- ## Marketing deutschsprachiges Projekt ## http://de.openoffice.org - www.openoffice.org ## Vorstand OpenOffice.org Deutschland e.V. ## Mitglieder willkommen: www.OOoDeV.org --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
