Ver Mensaje Individual
  #2  
Antiguo 21-05-2010
Avatar de rgstuamigo
rgstuamigo rgstuamigo is offline
Miembro
 
Registrado: jul 2008
Ubicación: Santa Cruz de la Sierra-Bolivia
Posts: 1.646
Reputación: 17
rgstuamigo Va por buen camino
Arrow

Sencillamente puedes usar la propiedad ItemIndex del DBComboBox y hacer esto:
Código Delphi [-]
var Nombre:String;
begin
    if DBComboBox1.ItemIndex > -1 then //si se ha seleccionado un item válido
     Nombre:=DBComboBox1.Items[DBComboBox1.ItemIndex];
end;
Saludos...
__________________
"Pedid, y se os dará; buscad, y hallaréis; llamad, y se os abrirá." Mt.7:7
Responder Con Cita