Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Modal form lost focus and die
Message
De
03/03/2003 16:11:34
 
 
À
03/03/2003 15:53:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00760474
Message ID:
00760519
Vues:
26
> Can you provide more information on what you are trying to resolve?

Simple example :

------------
Create a two forms:

1) Form1 with button and timer

Command1.Click event :
ThisForm.Timer1.Interval = 1000
ThisForm.Timer1.Enabled = .T. // Start the Timer
DO FORM Form2 // Call second form

Timer1.OnTimer event :
ThisForm.Command1.SetFocus() // Set focus back to form1

2) Form2 with WindowType = 1 //Modal

-------------

Now Run the Form1 and press button.
In one second - Bye-Bye, FoxPro!



PS. The example is very simple. If it not enough, ask exactly that information you need.

Thank you for support.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform