Aktywny item w FileListBox

0

Witam... Wiem jak podświetlić aktywnego itema w ListBoxie. A jak to zrobić w FileListBoxie? :|

0

Witam... Wiem jak podświetlić aktywnego itema w ListBoxie. A jak to zrobić w FileListBoxie? :|

Tak samo. kombinuj z OnDraw. ale mysle ze znalazbys tesz taki komponent co mozna ustawiac tkie rzeczy. (czyt. google)

0

<font color="darkblue">property ItemIndex: Integer;

Description

Use ItemIndex to select an item at runtime. Set the value of ItemIndex to the index of the item to be selected. The ItemIndex of the first item in the list box is 0. If no item is selected, the value is -1, which is the default value unless MultiSelect is True.

If the value of the MultiSelect property is True the user can select more than one item in the list box. In this case, the ItemIndex value is the index of the selected item that has focus. If MultiSelect is True, ItemIndex defaults to 0. </span>

1 użytkowników online, w tym zalogowanych: 0, gości: 1