Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Un clear behavior with grid
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00390753
Message ID:
00390857
Vues:
8
Hi Jon,

>>
>>The following is the code within the init method of the grid:
>>
>
>FWIW, take a look at the SetAll method.

I changed it to setall(). But the problem is still there.
This.SetAll("DynamicBackColor","This.Condition()","Column")

>>FOR m.lnJ=1 TO This.ColumnCount
>> This.Columns[m.lnJ].DynamicBackColor="This.Condition()"
>>ENDFOR
>>DODEFAULT()


>Is This.Condition a method of the column?

Well the DynamicBackColor Specifies the background
and foreground colors of a Column object, should it be
anything else ?

The condition method change the color of each column.

>>
>>The condition method changes the color of the row based on
>>different conditions found within the Condition Method
>>below:
>>
>>It is working fine at development time whenever I run the form
>>by itself. But when I compile it as an app or an exe file,
>>if I scroll to the right of the grid the colors are not
>>changing properly. It seems the condition method is
>>not called from the DynamicBackColor property.

>What about when you run the program (not the form stand-alone) through the >interpreter?

When I run the entire application as an app or an exe
I have this problem.

It does not happen as a stand alone form.

Thanks

Doron
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform