delphi – Cool grid and paint

I am trying to update a grid to which a double-click refreshes the color of certain rows.

In this case, I double-click on the grid and go through it. The value of the first field is compared with the value of the field
Field that comes from a query …

The fact is, in a particular case, if the values ​​are the same, I want you to paint the whole line in red …

The fact is that it drives me crazy and paints everything and I do not understand what happens.

I leave code:

procedure TAvisosUrgentes.JvDBUltimGrid1DblClick(Sender: TObject);
var x: Integer;     //Indice para recorrer la query de Refresco
aviso:Variant; //Variable Aviso actual al recorrer el Dataset
ds :TDataSet; //Variable de la fuente de datos

begin

FDQRefrescar.Active:=false;
FDQRefrescar.Active:=true;
FDQRefrescar.Close;
FDQRefrescar.Open;
FDQRefrescar.RecordCount;


ds:=JvDBUltimGrid1.DataSource.DataSet;
ds.First;
  while (not ds.Eof) do begin

    aviso:= JvDBUltimGrid1.DataSource.DataSet.FieldByName('CODAVS').Value;

    for x:=0 to FDQRefrescar.recordcount -1 do begin
        if FDQRefrescar.FieldByName('CODAVS').Value= aviso then
        begin
       AQUI DEBE IR EL PINTADO DE LA FILA
        FDQRefrescar.Next;
        end;
    end;
    ds.Next;
    FDQRefrescar.First;
  end;

The End;

Earn cool money without stress, tested and trust – Other ways to make money

INTRODUCTION * BUZZBREAKER EARNING APP *

Have you tried different methods to earn money from home, and you fail, my friend, it has happened to me too.

But I've found an app that I've described as read and earned, and it pays off when you read it again. Personally I earn real money just by reading news in BuzzBreak! Join me on my referral link: http://bit.ly/2HFK2an. Enter my reference code B00979039 (http://bit.ly/2HFK2an) for an additional bonus. This is a win for both of us.

And once you sign up and use the referral code, you earn more points and convert the money into real money …


Believe me, this app paid for * TWICE * and the payment was sent to me on my PayPal account.


Do not forget, if you do not try, you can not * say *

Use the link again for better points. Join me on my referral link: http://bit.ly/2HFK2an. Enter my reference code B00979039 (http://bit.ly/2HFK2an) for an additional bonus.

,

Need advice. Only for cool guys!

Hello. I can recommend a shop with very cool branded caps, as well as sneakers. //Www.myfitteds.com/collections/dc-comics Everything is suitable for every taste and every color. Many different prints on every topic. Among all the other businesses I've seen, this business is the best. The delivery does not take long. Good quality.

I have created a cool browser game :) | Forum Promotion

I did a pretty cool browser game
It's called Geofall and it's pretty easy. I managed to better learn HTML5 Canvas and prepare for another game I'm doing this week :)

Have you ever created a game? If yes, with which language / can we check this? :)

http://scanr.co/games/Geofall/

  • Smaller and faster shapes will give you more points!
  • If you miss big or slow shapes, you will lose more points!
  • If your current points fall below 0, the game is over!
  • Use the mouse (hovering over the game) to move around the bottom to catch shapes
  • Prioritize and win :)

The game is designed so that the shapes appear faster and faster over time until it becomes impossible. Your goal is to score as many points as you can (hi-score) before the game takes away all the points

Kamala Harris, trying to sound cool, caught in a fat lie?

I really can not stand it when Linke tries to win the black vote. They talk to black people and say stupid things like "I keep hot sauce in my purse". Who shits on your spicy sauce. WHAT DO YOU DO FOR THE BLACK COMMUNITY ????

Meanwhile, the worst and most disconnected schools in the US are public Democratic-run inner-city schools.

In the meantime, Trump was working on the prison reform that the black community had been seeking for DECADES, and they call him a racist and those who voted for him are racists.

And God forbid that you are a black man who voted for Trump, because then these pillars of tolerance and anti-racism will call you "Uncle Tom" or "Aunt Jemima", IF these are not extremely racist expressions.

Here's a question for those who claim Trump is racist against black people. Give ONE thing that he said showed racism against blacks. Damn, give one thing he said that showed racism at all. I'm not talking about denouncing illegal immigrants or MS13, I mean offending RACES.

,

[COOL!!!] … 10 Well-running Nepal Proxies!.. [FREE LIST]

Do not hesitate and grab useful list of 10 free and fully active Nepal proxies:
110.44.124.220:53281
124.41.240.79:30276
202.79.48.38:59279
202.70.88.149:52428
124.41.211.153:43885
182.93.90.243:8080
202.166.216.213:23500
124.41.211.135:34858
150.107.207.137:61954
202.79.43.62:23500