Ver Mensaje Individual
  #6  
Antiguo 10-09-2013
Avatar de santiago14
santiago14 santiago14 is offline
Miembro
 
Registrado: sep 2003
Ubicación: Cerrillos, Salta, Argentina
Posts: 583
Reputación: 21
santiago14 Va por buen camino
Thumbs up

Cita:
Empezado por ecfisa Ver Mensaje
Hola Santiago.

No sé si cumplirá tus espectativas, pero una alternativa simple es usar un TComboBox, por ejemplo:
Código Delphi [-]... const HISTORIAL = 'C:\CARPETA\HISTORIAL.TXT'; procedure TForm1.FormCreate(Sender: TObject); begin with ComboBox1 do begin Clear; if FileExists(HISTORIAL) then Items.LoadFromFile(HISTORIAL); Sorted := True; Style := csDropDown; end; end; procedure TForm1.ComboBox1Exit(Sender: TObject); begin with ComboBox1.Items do begin Add(ComboBox1.Text); SaveToFile(HISTORIAL); end; end; ...


Saludos
La verdad es que esto sí que está interesante. Lo voy a probar y les digo. Sencillo, potente...
Gracias.
__________________
Uno es responsable de lo que hace y de lo que omite hacer.
Responder Con Cita