Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setall fails in a grid
Message
 
To
01/03/1999 09:40:07
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00191974
Message ID:
00192643
Views:
16
>Jim:
>
>The values for curRecForeColor and curRecBackColor are set by a UDF that uses GetSysColors for 14 & 13. They are set as follows: =mvWindowsColors(14), etc.
>in the grid sub-class. I checked the Read-only properties of the Grid and their containers. Grids that work were set ReadOnly = .T. as well as 1 that didn't. I changed to ReadOnly = .F. and still no joy.
>
>Any other Ideas?
>
>Mike

Mike,

One thing I just noticed is that your code is refering to This.Recordsource and This.nCurRec. These are properties of the gird and the dynamicforecolor is a property of a column. They should probably be This.Parent.nCurRec and This.Parent.RecordSource.
Previous
Reply
Map
View

Click here to load this message in the networking platform