Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid column: dynamicforecolor problem
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Database:
Visual FoxPro
Divers
Thread ID:
01026334
Message ID:
01026417
Vues:
16
It should work as long as the fciscomm memo field belongs to the same table as grid's record source.

>That does not work. I have a form method that does the work of setting the grid properties and its called in the form init after i populate a cursor.
>
>I also put the code in the form's ACTIVATE method along w/ a REFRESH call to the grid and the caption on all of the command buttons are black, regardless if data is there or not.
>
>am using:
>
>
>SELECT tmpfcis
>thisform.grdbase.column32.dynamicforecolor = 'IIF( EMPTY(tmpfcis.fciscomm), RGB(0,0,0), RGB(0,0,255) ) '
>thisform.grdbase.Refresh()
>
>
>
>>There should be no quotes around RGB()
>>.column32.dynamicforecolor = 'IIF( EMPTY(tmpfcis.fciscomm), RGB(0,0,0), RGB(0,0,255) ) '
>>
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform