Einzelnen Beitrag anzeigen

Niko

Registriert seit: 23. Jun 2003
416 Beiträge
 
Delphi 2006 Professional
 
#2

Re: ToolButton nur enabled, wenn ein ListView-Item markiert

  Alt 5. Jul 2004, 19:18
Im OnChange der ListBox den Button aktivieren/deaktivieren:
Button.Enabled := (ListBox.ItemIndex <> - 1);
"Electricity is actually made up of extremely tiny particles called electrons, that you cannot see with the naked eye unless you have been drinking." (Dave Barry)
  Mit Zitat antworten Zitat