Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
No Visual Foxpro Window
Message
De
15/03/2002 12:05:26
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
15/03/2002 11:58:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00633455
Message ID:
00633492
Vues:
15
>>Hi,
>>Do you meant you see your form and the VFP main window too?
>>Or, the program just flash and dissapear? If so, you need to place READ EVENT after DO FORM mymainform
>>
>>HTH
>
>Thanks for the help, but I'm still missing something.
>
>mymainform.ShowWindow is set to 2 in the form designer. The form is run from a main program like this :
>
>
>DO FORM mymainform
>mymainform.Show
>Read Events
>
>
>The main foxpro window flashes & the mainform never appears. (I've got a button to close the form with a clear events in it). The form is in limbo at that point - it doesn't appear on the program task list (Ctrl-Alt-Del), but databases are open.

Len,
To keep it simple I think an app that has only one form (no main.prg) would do for you :

-Create a simple form as top level
-Be sure to add button with

clear events
thisform.release

as click code
(You might want to code that in Form.queryunload as well)
-In form.init code
this.show
read events

Build and run.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform