FTP | CCD | Buscar | Trucos | Trabajo | Foros |
|
Registrarse | FAQ | Miembros | Calendario | Guía de estilo | Temas de Hoy |
|
Herramientas | Buscar en Tema | Desplegado |
#1
|
|||
|
|||
Cambio de caracteres
Hola gente linda, tengo una duda al hacer un programita.
Hace años vi uno parecido y siempre quise hacer algo similar. Este programita consistia en escribir en un edit una pregunta, y el programita te la respondia solo y siempre acertaba. la cosa era q en un edit escribias LA RESPUESTA A LA PREGUNTA seguido de la pregunta, pero en el edit solo se escribia el nombre del programa seguido de la pregunta. No se si me explico bien. Por ejemplo si uno queria preguntarle: cual es la capital de españa? debia escribir madrid cual es la capital de españa? Y en el edit debia aparecer NOMBREDELPROGRAMA cual es la capital de españa? Donde NOMBREDEPROGRAMA es un nombre q le ponemos al programa, en mi caso Luchito. A continuacion adjunto el codigo de evento onkeypress del edit El error q me da es q escribe la primera letra de la respuesta. Ej: Madrid cual es la capital de españa? Escribe ML Alguien me puede dar una solucion? o si debo poner el codigo en otro lugar q no sea el evento onkeypress? Gracias |
#2
|
||||
|
||||
Hola
Tal vez algo asi. Saludos
__________________
Siempre Novato Última edición por Caral fecha: 19-11-2008 a las 18:54:44. |
|
|
Temas Similares | ||||
Tema | Autor | Foro | Respuestas | Último mensaje |
Cambio de cursor... | The_Avatar | OOP | 6 | 04-02-2008 19:22:20 |
El cambio de Usuario de Windows Me cambio el Delphi!! | El_Raso | Varios | 5 | 22-11-2006 17:27:02 |
Cambio de Fuente | buitrago_listas | Varios | 1 | 02-11-2004 17:06:33 |
Cambio de IB6 a FB1.5 | afxe | Firebird e Interbase | 0 | 13-07-2004 17:01:03 |
Cambio del registro | soul6301 | Varios | 1 | 06-06-2004 09:42:02 |
|