Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form controls sometimes invisible
Message
 
To
06/07/2009 12:19:22
Gary Foster
Pointsource Consulting LLC
Chanhassen, Minnesota, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01409187
Message ID:
01410354
Views:
77
Hi Gary,

right now my current hypothesis of what's going on is: When VFP paints the controls something causes an exception jumping back to some outermost exception handler. Basically, VFP would stop painting. To verify this hypothesis, you could let your application run in the Visual Studio debugger and before doing so enable all exceptions on the Debug > Exceptions dialog checking the "thrown" column.

It might be a division by zero exception. In this case, you could try to add the following code to the Init, Activate and Paint event (and maybe some more places):
Declare _fpreset in msvcr71.dll
_fpreset()
--
Christof
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform