I think, it's vary close to the target <g>
Anyway IMO, the proper vay to resolve this problem is to give up outdated command as DEFINE WINDOW and @ ... and move to VFP programming.
>Ahhh, I should have thrown in resolution too. But you just did.
>
>A stab in the dark anyway.
>
>
>
>>I have Large Fonts and 1024 x 768 screen resolution.
>>
>>>Jim,
>>>
>>>Seeing Sergey's reply bring to mind small/large fonts. Mightyour display settings be saying Large fonts? If so, you might try what you get with Small fonts.
>>>
>>>Just a thought.
>>>
>>>good luck,
>>>
>>>
>>>>I want to run a FPW26 program on VFP7. I define and open a screen with this command:
>>>>
>>>> DEFINE WINDOW A FROM 0,0 TO 43,100 ;
>>>> FONT 'FOXPRINT', 10 STYLE 'B'
>>>> ACTIVATE WIND A
>>>>
>>>>Later in my program I clear the screen using "@ 1,70 CLEAR TO 3,79" which generates an error that the position is off screen. I think my PC is haunted.
>>>>
>>>>Has anyone else had this error? It works fine in 2.6
>>>>
>>>>TX
--sb--