Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MODI WINDOW SCREEN
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00357088
Message ID:
00357146
Views:
18
Screen, Screens and _Screen are reserved words. VFP may have gotten confused trying to parse your command.

Barbara

>After testing some code on my machine, I had a user who got an error message that read:
>
>Fatal error: Exception code = C0000005...
>
>Additional lines on the error message helped me to identify the offending line of code. It was MODI WINDOW SCREEN which I have used since the Fox2X days to reset "properties" for the main FoxPro window.
>
>I fixed the problem by substituting the following code.
>
>WITH _SCREEN
> .CLOSABLE = .T.
> .CAPTION = "MicroSoft Visual FoxPro"
> .ICON = ""
>ENDWITH
>
>I don't understand why I had a problem in the first place. More than once, I've had a problem that didn't seem to be a problem. In many of these cases, I've simply found another way to do the same thing and solved my "problem". That's what I did again here.
Barbara Paltiel, Paltiel Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform