Hello good people.
Imagine Form with ListView and 3 Buttons (Add, Edit, Delete). You are allowed to add item anytime you want. You are allowed to edit or delete item while item is selected ONLY. What event would I use? All i want to do is to make property Buttons.Enabled := False when none item is selected and when user select some item (ListView.ItemIndex > -1) then Buttons.Enabled := True. I tried this with timer, but it is not very smart solution, i think.