If you know visible-name of Form, you could use (gb.Desktop):
Public Sub Button1_Click() Dim dw As DesktopWindow For Each dw In Desktop.Windows ' If the visible-name is the same as the name of the form that we seek, then it detects that: If dw.VisibleName = "visible-name of Form" then Print "Form is active !" Next End -------------------------------------------- Sab 2/5/15, abbat81 <abbat...@mail.ru> ha scritto: Oggetto: [Gambas-user] How to know is my Form activated or not? A: gambas-user@lists.sourceforge.net Data: Sabato 2 maggio 2015, 13:43 In Event I use *Form_Activate()* and *Form_Deactivate()* But I need to have boolean Y/N when I ask. -- View this message in context: http://gambas.8142.n7.nabble.com/How-to-know-is-my-Form-activated-or-not-tp51426.html Sent from the gambas-user mailing list archive at Nabble.com. ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user