Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Highlighting several rows of a grid
Message
From
12/03/2004 08:58:59
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00885548
Message ID:
00885573
Views:
10
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform