Einzelnen Beitrag anzeigen

Benutzerbild von Neutral General
Neutral General

Registriert seit: 16. Jan 2004
Ort: Bendorf
5.219 Beiträge
 
Delphi 10.2 Tokyo Professional
 
#6

Re: mehrere comboboxen auf enabled

  Alt 25. Sep 2007, 20:54
Zitat von fuknersascha:
Danke


Zitat von mkinzler:
Entweder Referenzen auf die ComboBoxen in einem Array organisieren, dann gehts wie du geschrieben hast oder halt per .FindComponent:

(FindComponent( 'Combobox'+IntToStr(x)) as TComponent).Enabled := True;
die eigenschaft enabled gibts bei der version aber nicht
musst halt auf TComboBox oder so casten.

FindComponent('Combobox'+IntToStr(x)) as TComboBox)Enabled := True;
Michael
"Programmers talk about software development on weekends, vacations, and over meals not because they lack imagination,
but because their imagination reveals worlds that others cannot see."
  Mit Zitat antworten Zitat