Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Minimal Single Form Application
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00800073
Message ID:
00800114
Vues:
25
Lance,

You use a main.prg:

do form TheApp
read events

TheApp.Destroy:
clear events

add a config.fpw:
screen=off

the config will keep the VFP screen from showing at all.

>What is necessary to create a bare-minimum, single form application? I've tried creating a project with a single form as the only object in the project, and made it MAIN.
>
>I've tried Application.Visible = .F. in the Init of the form, and setting ShowWindow = Top-Level Form, but the main FoxPro window still displays, and the application closes immediately.
>
>What do I need to do just to get a single form to display, then exit when I click an Exit button?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform