Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Colorsource error when recompiling with VFP 8
Message
From
24/12/2003 13:24:13
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Colorsource error when recompiling with VFP 8
Miscellaneous
Thread ID:
00861971
Message ID:
00861971
Views:
55
Hi,

I am seeing a problem on some, but not all, command buttons on forms that do not retain the correct Colorsource property setting of "4" (Windows Control Panel-3D Colors-Default) when recompiled using VFP 8 SP1. Instead, some of the buttons have their colorsource set to "0", the Object[ASCII 146] Color Properties setting.

This legacy application, originating from FPDOS and converted through FPWIN and VFP 3-6, never did make use of intermediate level classes, instead all forms and controls inherit directly from VFP base classes (ugh!). It is currently compiled in VFP 6 and does not display any colorsource errors during design or runtime. Has anyone seen this problem before or know of it specifically occurring when using VFP 8 SP1 to recompile an earlier VFP application. I was thinking of creating a routine to set or verify that the colorsource property of all command buttons on forms in a project are set to ".colorosource=4" with a Project hook. Any other ideas or solutions appreciated. Thanks.
Mark Rietman
Next
Reply
Map
View

Click here to load this message in the networking platform