Latest window Form Identification

Ask general questions here.
arishahsan
Posts: 26
Joined: Thu Jan 18, 2007 12:04 pm

Latest window Form Identification

Post by arishahsan » Thu Jan 25, 2007 7:00 am

How will we identify that which is the last window form which has appeared....I mean to say that using Application.GetForms() & Application.form we will get an arraylist of all the opened form....So now how will we identify that which of them is the latest form?

admin
Site Admin
Site Admin
Posts: 350
Joined: Wed Jul 05, 2006 7:44 pm

Post by admin » Thu Jan 25, 2007 8:13 pm

You can get the last activated form with the Application.Active property.

Gabor