Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DEFINE WINDOW changes size in compiled .EXE
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
DEFINE WINDOW changes size in compiled .EXE
Divers
Thread ID:
00081229
Message ID:
00081229
Vues:
51
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
Paul R. Moon
Business Software Solutions
paul@businessoftware.com
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform