Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.
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
7 Experts available now in Live!