Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.
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;
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
9 Experts available now in Live!