FoxPro/Visual FoxPro - SELECCIONAR UNA FILA EN UNA GRILLA

 
Vista:

SELECCIONAR UNA FILA EN UNA GRILLA

Publicado por CRISTHIAN OBREGOSO (25 intervenciones) el 08/02/2008 18:44:49
HOLA, NENCESITO SELECCIONAR UNA FILA DE UNA GRILLA CON UN COLOR. EL PROCESO ES ASI:
YO BUSCO UNA CEDULA, EN UNA GRILLA, SI EL REGISTRO CON LA CEDULA IGUAL SE ENCUENTRA EN LA GRILLA, QUE LA SUBRAYE DE UN COLOR. YO MAS O MENOS SE QUE ES CON SETALL PERO NO SE COMO UTILZARLO.
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

RE:SELECCIONAR UNA FILA EN UNA GRILLA

Publicado por ANDY (228 intervenciones) el 09/02/2008 00:20:38
En el evento INIT del Grid puedes poner :

Thisform.Grid1.SetAll("DynamicBackColor", "IIF(Existencia<>0, ;
RGB(187,187,255), RGB(255,255,255))", "Column")

En este caso la fila cambia de color si el campo Existencia es distinto de O

Adaptalo a tu necesidad.
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar