Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Long command for column dynamic background
Message
 
 
À
04/02/2014 11:39:08
Rob Clapworthy
Bespoke Software Systems
Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01593139
Message ID:
01593148
Vues:
93
This message has been marked as the solution to the initial question of the thread.
>Hi
>
>I have a long complicated set of different dynamic background conditions I need for one column in my grid.
>
>An ICASE won't cut it since the statement it is too long (>255),
>
>The following command works well in the INIT of the grid, but don't want this for all columns in the grid just some.
>
>
>thisform.grid1.SetAll("dynamicbackcolor","thisform.GetBackColor(alltrim(ctype))")
>
>I can't seem to work out what the syntax would be for one or more columns.
>
>Can anyone shed any light on this.
>
>TAI
>
>Rob

It will be exactly the same thing, e.g.
thisform.Grid1.column1.dynamicbackcolor = "thisform.GetBackColor(cType)"
You can do alltrim in the body of the method.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform