FTP | CCD | Buscar | Trucos | Trabajo | Foros |
|
#1
|
|||
|
|||
buscar texto
buenas, me gustaria saber como poder buscar un texto dentro de una memo.
Gracias! |
#2
|
||||
|
||||
Hola,
Pues así, sin muchas florituras:
|
#3
|
||||
|
||||
También puedes usar el TFindDialog
__________________
Lecciones de mi Madre. Tema: modificación del comportamiento, "Pará de actuar como tu padre!" http://www.purodelphi.com/ http://www.nosolodelphi.com/ |
#4
|
|||
|
|||
Gracias Dec!
jhonny como seria con el TFindDialog? |
#5
|
||||
|
||||
Cita:
Una vez escribí unas líneas para hacer búsquedas más específicas. Aquí. Saludos Última edición por ixMike fecha: 18-04-2007 a las 18:48:11. |
#6
|
|||
|
|||
Gracias x la información!
|
#7
|
||||
|
||||
hola
ps no tengo en si la busqueda en un memo pero aqui te pas un codigo q hace la busqueda en un lisbox. espero te sirva procedure Buscar(Lista: TStringList; Path: String); var SearchRec: TSearchRec; begin if Copy(Path, Length(Path), 1) <> '\' then Path:= Path + '\'; if FindFirst(Path + '*',faAnyFile,SearchRec) = 0 then repeat if (SearchRec.Attr and faDirectory) = faDirectory then if (SearchRec.Name <> '.') and (SearchRec.Name <> '..') then begin Lista.Add(Path + SearchRec.Name); Buscar(Lista, Path + SearchRec.Name); end; until FindNext(SearchRec) <> 0; FindClose(SearchRec); end; |
Herramientas | Buscar en Tema |
Desplegado | |
|
|
Temas Similares | ||||
Tema | Autor | Foro | Respuestas | Último mensaje |
Buscar texto en un campo blob | diegofhernando | Conexión con bases de datos | 3 | 25-07-2006 01:53:51 |
Como buscar texto | juziel | Varios | 2 | 24-06-2005 00:46:40 |
Buscar texto en WebBrowser | ciscu | Internet | 2 | 17-03-2004 16:32:01 |
Buscar texto en WebBrowser | ciscu | Varios | 2 | 16-03-2004 20:24:04 |
Buscar Texto en un DBgrid | MeTaL | Tablas planas | 1 | 18-06-2003 08:10:29 |
|