Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
Form2.Show; Timer2.Enabled := true
with another timer I show the value of Screen.ActivForm:
Timer2.Enabled := false; Form2.Hide
If I compile this program with XE2: first Form1 is active, then with ButtonClick Form2 is active until Timer2Timer, then Form1 is active again (as I expected)
Timer1.Enabled := false; Label1.Caption := Screen.ActiveForm.Name; Timer1.Enabled := true;
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.