Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Converting 2.x project and screens to VFP
Message
De
28/11/2003 18:35:10
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00852464
Message ID:
00854330
Vues:
19
>>AFAIR there was a tool from MEI to re-create the FP-Metafiles. I've never worked with it, have no idea how good it was and if it might work for you.
>>
>>Even if that is not possible: I believe a cut'n'paste approach can be avoided. But giving you pointers / hints without any kind of knowledge of your code could be ... inappropriate.
>>
>
>Actually, I guess I wasn't clear enough about how these screens were set-up. They are only built using @ SAY/GET inside of a PRG file. There is no screen file for them - the original developers wrote the code manually. While this code ran OK under VFP 8, the screen format looked terrible. I was just looking for suggestions on environment settings, font settings, (or some other settings) that might make the display a little more reasonable looking (some forms had overlapping controls, etc.).

The simple trick I tried last year, and now tried again, is... well, something like this:
oForm=createobject("form")
with oForm
   .fontname="{your favorite font here}"
   ... {set other properties as you like them}
   .show()
endwith
@ x, y get z
oForm.setall("backcolor",16777215,"textbox")
...{other setall stuff you may want to do}
read
release oForm
This way you have some control over what gets displayed, and the code is also pretty straightforward and independent from the say-get stuff. The Gets are displayed on Page1 of a pageframe1, so you can also influence their sizes a bit and do some manipulation - make it look nice before you really start getting rid of say-gets. The get fields show inside your form instead on VFP desktop, so you can even move them around and generally stay in control much more than if you let them use the desktop.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform