Ver Mensaje Individual
  #2  
Antiguo 25-10-2005
Avatar de Neftali [Germán.Estévez]
Neftali [Germán.Estévez] Neftali [Germán.Estévez] is offline
[becario]
 
Registrado: jul 2004
Ubicación: Barcelona - Espańa
Posts: 19.440
Reputación: 10
Neftali [Germán.Estévez] Es un diamante en brutoNeftali [Germán.Estévez] Es un diamante en brutoNeftali [Germán.Estévez] Es un diamante en bruto
żEl Locate lo estás haciendo sobre el mismo DataSet que tienes conectado el DBGrid?
Si es así, el registro activo debe ser el que has encontrado utilizando Locate.
Activando las opciones dgRowSelect y dgAlwaysShowSelection del DBGrid debberías poder ver el registro activo (toda la línea seleccionada) aunque el DBGrid no tenga el foco.

Si lo que quieres es utilizar un DataSet diferente al del DGrid, deberás programar el evento "OnDrawColumnCell" del Grid.

Pruébalo y ya dirás...
__________________
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.
Responder Con Cita