Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Highlighting several rows of a grid
Message
De
12/03/2004 08:58:59
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00885548
Message ID:
00885573
Vues:
11
>Hi! I've a routine for my grid that does an autofill much like the autofill in excel.
>
>Mine works by starting at the active cell going downwards until a cell is not empty. I then work out the increment needed between the two values and autofill the cells inbetween.
>
>It would be nice if I could highlist a number if cells as in excel?
>
>Is this possible?
>
>TIA
>
>RC
>BSS

Robin,
You could utilize MultiselectGrid class for that :)
An alternative :
Since your selections would be under array limit (I hope:) create a DynamicBackColor expression like :

thisform.myGrid.Columns(x).DynamicBackColor = ;
"(iif(ascan(thisform.aSelected,myTable.PKId) > 0, 0x00FFFF, 0xFFFFFF))"

and play with the array.
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