Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Standard query form
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00688938
Message ID:
00688946
Views:
18
Hi Frederico,

Save your time and just use either Nick's GridHighlighter or Cetin Basoz Highlighted grid. Both work just fine...

>Dear Friends,
>
>I've inside of my systens a standard form with a grid that shows the queries in columns...
>
>In this grid I show the view by order selected by the click in the grid header, queries and etc...
>
>I would like add in this grid a diferent view in the current recno()...
>
>Inside event INIT in the grid I added the follow code:
>
>THISFORM.GRADE.SETALL(“DYNAMICBACKCOLOR”,”IIF(RECNO() = THISFORM.REGATU.VALUE,RGB(255,255,255),RGB(0,0,0))”,”COLUMN”)
>
>And inside event AFTERROWCOLCHANGE in the grid I have the follow code:
>
>THISFORM.ATUREG.VALUE = RECNO()
>
>The color in the current recno() of the grid works, but more than one line is colored...
>
>I can't find a right solution for this case...
>
>Anyone can help me?
>
>best regards,
>
>Frederico Oliva
>
>DC-Info Desenvolvimento e Consultoria
>Frederico Oliva
>Consultor de informática
>foliva@dc-info.com
>fredericooliva@hotmail.com
>ICQ#: 47805285
>ICQ status:
>SMS: +278314247805285
>http://wwp.icq.com/47805285
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform