Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid Color Question
Message
 
À
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:
00863736
Vues:
11
>>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

Thanks Cetin, that procedure is exactly correct.
:)

Happy New Year!
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform