Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DynamicBackColor problem
Message
De
08/03/2001 23:14:52
Gavin Reid
L & M Marketing Pty Ltd
Frenchs Forest, Australie
 
 
À
08/03/2001 22:17:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00483390
Message ID:
00483405
Vues:
21
Hi Doug,

Are you sure that 13565902 & 16777215 are allowable colour values?

I use the following code and it works fine:
ThisForm.Grid1.Column1.DynamicBackColor ;
    = IIF(parent_itm = 'Y',"RGB(255,255,255)","RGB(0,0,0)")
Hope this helps,
Gavin...

>Hi,
>
>I have a problem when re-defining a grid from a method of a form. The DynamicBackColor causes an error. The code (part only) for the grid redefinition is...
>
>
>.Column1.FONTSIZE = 8
>.Column1.CONTROLSOURCE = "vInventory.itemno"
>.Column1.DynamicBackColor = IIF(parent_itm = 'Y',13565902,16777215)
>.Column1.WIDTH = 125
>
>
>...the dynamicbackcolor value works OK only for the original grid definition on form show.
>
>Error...
>
>PROCEDURE..: FRMINVENTORY.BLDGRID6
>LINE NUMBER: 21
>DESCRIPTION: Data type is invalid for this property.
>CODE       : .Column1.DynamicBackColor = IIF(parent_itm='Y',13565902
>ACTIVE DBF.: VINVENTORY
>ACTIVE NDX.:
>ERROR NO...: 1732
>
>
>I look forward to a resolution to this.
>
>Regards
>Doug Johnston
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform