FTP | CCD | Buscar | Trucos | Trabajo | Foros |
|
Registrarse | FAQ | Miembros | Calendario | Guía de estilo | Temas de Hoy |
|
Herramientas | Buscar en Tema | Desplegado |
#1
|
|||
|
|||
Problema Al Llenar Sort
AYUDA LLENADO DE GRILLA
Hola buenos dias me pueden ayudar, Estoy haciendo una agenda de citas con un SortGrid Tengo un error por que me muestra asi 7:00 1 53456765 OSCAR PALACIOS 7:45 1 7:45 2 7:45 3 8:30 1 8:30 2 8:30 3 y deberia mostar 7:00 1 53456765 OSCAR PALACIOS 7:00 2 7:00 3 7:45 1 7:45 2 7:45 3 8:30 1 8:30 2 8:30 3 9:15 1 9:15 2 9:15 3 Donde el interval = intervalo del dia que en este caso son 45
Última edición por ecfisa fecha: 22-10-2013 a las 00:54:46. Razón: Agregar etiquetas [DELPHI] [/DELPHI] |
#2
|
||||
|
||||
Hola monfa y bienvenido a Club Delphi
Como a todos los que se inician te invitamos a que leas nuestra guía de estilo. Por favor cuando incluyas código en tus mensaje utiliza TAG's para darle más legibilidad, como explica la imágen: (Esta vez ya las agregué en tu mensaje ) Saludos
__________________
Daniel Didriksen Guía de estilo - Uso de las etiquetas - La otra guía de estilo .... |
#3
|
||||
|
||||
Es difícil seguir el código que has colocado, pues faltan muchos componentes para poder reproducirlo.
Lo que se me ocurre es que tal vez estés "machacando" algunos valores. Es decir, que los estés pintando todos, pero unos encima de otros, por lo tanto quedan los últimos. Lo más sencillo es que coloques unos breakpoints y ejecutes "paso a paso". Uno en el FOR, para asegurarte de cuantas veces pasa, y otro el los diferentes lugares donde rellenas celdas, para ver lo que estás escribiendo. Otra opción si con eso no te aclaras es utilizar un pequeño LOG. Coloca un Memo en el formulario (de forma temporal) y cada vez que pintas una celda añade una línea como esta:
De esta forma al acabar tendrás una lista de lo que has guardado en cada celda.
__________________
Germán Estévez => Web/Blog Guía de estilo, Guía alternativa Utiliza TAG's en tus mensajes. Contactar con el Clubdelphi P.D: Más tiempo dedicado a la pregunta=Mejores respuestas. |
|
|
Temas Similares | ||||
Tema | Autor | Foro | Respuestas | Último mensaje |
Sort en campo lookup? | Mystery | Varios | 0 | 08-04-2010 19:50:45 |
Bubble Sort en StringGrid | Gothic_Indhy | Varios | 2 | 08-04-2009 13:54:11 |
Ordenar (sort) en rave reports | raudelink | Impresión | 3 | 24-01-2006 17:33:11 |
Vistas sort/index | StartKill | Firebird e Interbase | 6 | 16-01-2006 16:15:46 |
TObjectList.Sort duda | Lepe | Varios | 3 | 21-03-2004 21:43:35 |
|