[Gambas-user] R: How to know is my Form activated or not?

Ru Vuott vuott at ...325...
Sat May 2 18:24:22 CEST 2015


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.81 at ...787...> ha scritto:

 Oggetto: [Gambas-user] How to know is my Form activated or not?
 A: gambas-user at 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 at lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user





More information about the User mailing list