Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing Rows in Grid
Message
From
07/01/2002 15:24:59
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
 
 
To
07/01/2002 15:22:06
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00601625
Message ID:
00601627
Views:
31
>Marica,
>
>Unless I'm completely misunderstanding how the BeforeRowColChange and AfterRowColChange events work, I don't understand why the following doesn't work, ie. highlight the current row in a grid.
>
>*nORecNo and nNRecNo are custom properties
>
>*BeforeRowColChange
>thisform.nORecNo=RECNO()
>
>*AfterRowColChange
>thisform.nNRecNo = RECNO()
>thisform.grdSearch.SetAll("DynamicBackColor","iifthisform.nnrecno=thisform.norecno)," + ;
> allt(str(RGB(0,255,0)))+ "," + allt(str(RGB(255,255,255))) + ")")
>
>Any thoughts are greatly appreciated,
>Greg

Greg,

What happens if you Refresh the Grid after the SetAll?

Renoir
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform