Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid Color Question
Message
De
03/01/2004 09:43:12
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00859231
Message ID:
00863637
Vues:
12
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform