Здравствуйте, alexb777, Вы писали:
A>Подскажите, пожалуйста, как сделать так, чтобы в barMenager -> StatusBar -> repositoryItemComboBox отображалась последняя введенная строка.
A>Строки добавляю так: repositoryItemComboBox.Items.Add(arg.Message);
A>а свойства SelectedIndex нет.
Нашел на
www.devexpress.com
' filling the combo box with data
For i = 0 To FontFamily.Families.Length — 1
RepositoryItemComboBox1.Items.Add(FontFamily.Families(i).Name)
Next i
' disabling the text editor of the combo box
RepositoryItemComboBox1.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor
' specifying the number of lines in the dropdown window
RepositoryItemComboBox1.DropDownRows = 4
' initializing the combo box with the first available font name
BarEditItem1.EditValue = FontFamily.Families(0).Name