Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Coloring a column in a grid
Message
From
08/11/2001 06:04:54
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
07/11/2001 15:51:51
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00578726
Message ID:
00578934
Views:
22
>I modified a grid created by someone else so that that focus is always on the middle column by tabbing to it if one of the other two columns is selected. To highlight it I assigned it background foreground colors. I also set the selected colors.
>
>My problem is that if I click on columns 1 or 3 the cursor moves to column 2 and uses the selected colors (select on entry is set to T), but if I click on column 2 it does not use the selected colors but the colors for the rest of the column.
>
>I must be missing something simple. How do I get the selected cell to change colors when I click on it?
Text1.click
with this
 .Selstart = 0
 .Sellength = len(trans(this.value))
endwith
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