Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid Color Question
Message
From
03/01/2004 09:43:12
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00859231
Message ID:
00863637
Views:
14
>Nick
>
>Is it possible to have 2 grids on the same form both using a grid highlighter?
>
>I have tried it but can't seem to get it to work for the second grid
>
>Thanks
>
>Colin

PMFJI,
I just tried it with 3 grids and worked :) I didn't use this before (well except for testing long ago:) so what I've done might be a long way to do it :
-I dropped 3 instances on to form and set cHostName of each to one of those grid's name.
-I edited each grid's AfterRowDColChange event to have :

this.parent.GridHighlighterN.Highlight_Row()

where N is the instance number for the grid.
-In form.init added code (otherwise it didn't highlight all before I tabbed to them):
this.myGrid3.SetFocus()
this.myGrid2.SetFocus()
this.myGrid1.SetFocus()

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