Information générale
Catégorie:
Gestionnaire d'écran & Écrans
> 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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement