Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SetAll and DynamicBackColor problem
Message
From
22/09/2005 14:28:35
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01052066
Message ID:
01052112
Views:
11
>I got it. Here is the solution:
>
> * the code stays in the AfterRowColChange event
> * Set the column's Sparse property to .F.
> * In the textbox GotFocus event, put this code:
>
>This.Parent.Parent.Refresh()
>
>
>This does everything I wanted. The DynamicBackColor doesn't vanish when entering the grid (selection cursor), it follows the current record when moving up or down in the grid, it appears on the first row of the grid when the grid is initialized and you first see it.
>
>Thanks for your help in getting my thoughts pointed in this direction!

You're welcome! :-)
Previous
Reply
Map
View

Click here to load this message in the networking platform