Código Delphi [-] if (comboBox1.ItemIndex <> -1) then begin comboBox1.Enabled:= False; end else begin comboBox1.Enabled:= True; end;
if (comboBox1.ItemIndex <> -1) then begin comboBox1.Enabled:= False; end else begin comboBox1.Enabled:= True; end;