Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Change Row Color in a Grid????
Message
From
03/09/1998 07:33:27
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
03/09/1998 00:23:27
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00132649
Message ID:
00132694
Views:
13
>I'd like to have the row that my cursor is on
>to have a different color from the rest of the
>grid.
>
>I've tried everything!!!
>
>I have 5 columns and only want the first column ENABLED.
>I'd like to make it so that I can navigate up/down via
>the first column and have only the FOCUSED row change color.
>
>I would also like to not be able to enter into the other columns.
>
>Need you input ...
>Thank you,
>
>Mal
Mal,
In files\classes check for "Two grid classes". It includes highlighted class which does what you want. For only enabling first column modify the init code of instance you dropped on form as :
*Highlighted.init
dodefault()
this.setall("Enabled",.f.,"column")
this.columns(1).Enabled = .t.
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
Next
Reply
Map
View

Click here to load this message in the networking platform