James,
I will make the following change to the CGridList.When() method (as BOb pointed out, I'll use PEMSTATUS as we do elsewhere in the Framework):
Changed…
loControl.SelectedBackColor = This.nSelectedBackColor
To…
IF PEMSTATUS(loControl, 'SelectedBackColor', 5)
loControl.SelectedBackColor = This.nSelectedBackColor
ENDIF
Jim, thanks for spotting this one, and BOb, thanks for the extra mojo (Austin Powers-speak).
Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com