Club Delphi  
    FTP   CCD     Buscar   Trucos   Trabajo   Foros

Retroceder   Foros Club Delphi > Principal > Varios
Registrarse FAQ Miembros Calendario Guía de estilo Temas de Hoy

Grupo de Teaming del ClubDelphi

Respuesta
 
Herramientas Buscar en Tema Desplegado
  #1  
Antiguo 24-08-2006
javicho_villa javicho_villa is offline
Miembro
 
Registrado: feb 2005
Ubicación: Lima - Perú
Posts: 99
Poder: 20
javicho_villa Va por buen camino
Unhappy Problema con StringGrid

Hola tengo un problema con los stringgrid cuando manejo los heigth de estos, me sale el error GridIndex out of range;
un poco de codigo (son 3 stringGrid evento DbClick).

Código Delphi [-]
  MiAlto := Height-PedidoPanel.Height-DetallePedidoPanel.Height-OrdenPanel.Height-ListaOrden.Height-ListaDetalle.Height-45;
  if lpedido then lpedido:=false
  else lpedido:=true;
  if lpedido then
    begin
      self.ListaDetalle.Height := 0;
      self.ListaOrden.Align    := alTop;
      self.ListaOrden.Height   := 0;
      if (MiAlto>0) and (MiAlto<500) then
        //self.ListaPedido.Height := 100
        self.ListaPedido.Height := MiAlto
      else
        self.ListaPedido.Height := 60;
    end
  else begin
         self.ListaPedido.SetFocus;
         self.ListaPedido.Height := 60;
         self.ListaPedido.SetFocus;
         MiRow := ListaPedido.Row;
         self.ListaPedido.Row := 1;
         self.ListaPedido.Row := MiRow;
         self.ListaPedido.SetFocus;
//         self.PintarDetalle;
       end;
__________________
Javier Villa Sánchez
jvilla@andreaproducciones.com
Responder Con Cita
Respuesta



Normas de Publicación
no Puedes crear nuevos temas
no Puedes responder a temas
no Puedes adjuntar archivos
no Puedes editar tus mensajes

El código vB está habilitado
Las caritas están habilitado
Código [IMG] está habilitado
Código HTML está deshabilitado
Saltar a Foro

Temas Similares
Tema Autor Foro Respuestas Último mensaje
StringGrid y el problema del Vacio... papulo Varios 7 09-09-2005 12:58:18
Problema con TQRCompositeReport y StringGrid BlueSteel Impresión 1 30-08-2005 19:09:30
Drag & Drop en StringGrid (Nuevo problema) miguel_fr Varios 3 27-06-2004 17:50:33
problema al insertar dato tipo date a un stringGrid emil SQL 2 11-07-2003 18:41:34
Problema con StringGrid julian_ch Varios 11 12-06-2003 12:26:36


La franja horaria es GMT +2. Ahora son las 03:25:05.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Traducción al castellano por el equipo de moderadores del Club Delphi
Copyright 1996-2007 Club Delphi