Dim dw As DesktopWindow For Each dw In Desktop.Windows Print "_" & dw.VisibleName Next I got next: _ _ _ _ _ _ _ _ _ _ _ _ -- View this message in context: http://gambas.8142.n7.nabble.com/How-to-know-is-my-Form-activated-or-not-tp51426p51453.html Sent from the gambas-user mailing list archive at Nabble.com.