Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Little Annoying behaviour
Message
From
11/02/2004 11:43:48
Larry Long
ProgRes (Programming Resources)
Georgia, United States
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00874203
Message ID:
00876295
Views:
16
>Hi Larry,
>
>Thanks for your suggestion, it appears the code does highlight the first record when the no. of records can fit in the grid, my code used to do that without the need for the additional code you suggested.
>
>However, what I need is highlighting the last record and this code will clash with my code that highlight the last record based on the record pointer which is something like this in the Grid's init:
>
>THIS.SETALL("DynamicBackColor","IIF((THISFORM.ncurrec=RECNO()),RGB(0,255,0),RGB(255,255,255))","Column").
>
>
>Thanks again.

I haven't tried it but I think it should work if you replace
"STORE RECNO() TO lnRecno" with "STORE THISFORM.ncurrec TO lnRecno" in my code.

Regards,
L.A.Long
ProgRes
lalong1@charter.net
Previous
Reply
Map
View

Click here to load this message in the networking platform