Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Re: Grid
Divers
Thread ID:
00274654
Message ID:
00274662
Vues:
26
>I have on my form a grid and a textbox. The user types in the textbox which has code to search in the table. As they type it searchs the table. I have the following code in the interactivechange event thisform.grdsearch.setall("Dynamicbackcolor",;
> "RGB(0,255,0)",;
> "Column")
>however this turns the hold grid to the color when what is only for the row to turn color. What am i doing wrong.

You don't have the condition in your code.
It supposed to be something like that:
thisform.grdsearch.Setall("DynamicBackColor", "IIF(somefield = thisform.textbox.value, RGB(0,255,0),RGB(255,255,255))", "Column")

Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform