I have a legacy FPW 2.6 application which I am writing some additional VFP software to integrate with. As a part of this endeavor I am calling some of the same routines for maintenance in both apps. (Quick, easy, and very appealing to the lazy programmer in me.) The ONLY problem that I have run into with this approach, is that windows defined using DEFINE WINDOW are the right size during development, but suddenly shrink when compiled and run as a VFP executable. These same windows also work properly in the 2.6 executable.
Here is an example of a window that doesn't work right when compiled in VFP:
DEFINE WINDOW WIN8A from 5, 15 to 12.3, 64;
COLOR W+/W, W+/W, W+/W, W+/W;
DOUBLE SHADOW TITLE "SCHEDULING SYSTEM";
FONT "Courier New",12 STYLE 'B'
I am displaying three buttons vertically stacked in this window, and when I run the VFP executable version of it, almost the whole bottom button is cut off. I have seen this occur with several of my windows, and have no idea why.
Any suggestions?
Paul