Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing the colours of items in a listbox
Message
De
03/08/2005 08:56:51
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01037780
Message ID:
01038096
Vues:
21
>Thankyou Cetin
>
>I have done this and it works great. How do I now change the colours dependant
>on the value of the my status field. What property would it Use?
>
>Also I have another grid bound to the same cursor but on a different page
>of my pageframe. when i select the item in the gri it will jump to the
>record on the other page but I also want to ensure that the item in the grid
>is selected.
>
>Basically I want to ensure thisform.pageframe1.page4.grid1.selected equals the
>same item selected on my other grid
>
>Many Thanks

DynamicBackColor. ie:

thisform.myGrid.SetAll('DynamicBackColor', ;
"(IIF(curlist.fabstatus='Pending Release',RGB(255,0,0),RGB(128,128,128)))" )

If they're using the same source then record pointer would be on the correct record.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform