[Gambas-user] R: Form.Show by name as string of form

Ru Vuott vuott at ...325...
Mon Apr 28 13:58:11 CEST 2014


Hi,

for example we have Main Form and 2 secondary Form, called: "Form1" and Form2".

To open them at same time:

Public Sub Form_Open()

  Dim f As New Form[]
  Dim f2 As Form


  f.Add(Form1)
  f.Add(Form2)

  For Each f2 In f
    f2.Show()
  Next

End
 
Bye



--------------------------------------------
Lun 28/4/14, abbat81 <abbat.81 at ...787...> ha scritto:

 Oggetto: Re: [Gambas-user] R:  Form.Show by name as string of form
 A: gambas-user at lists.sourceforge.net
 Data: Lunedì 28 Aprile 2014, 10:56
 
 Hi Vuott,
 can you help me with a little sample?
 Thanks
 
 
 
 --
 View this
 message in context: http://gambas.8142.n7.nabble.com/Form-Show-by-name-as-string-of-form-tp46270p46272.html
 Sent
 from the gambas-user mailing list archive at Nabble.com.
 
 ------------------------------------------------------------------------------
 "Accelerate Dev Cycles with Automated
 Cross-Browser Testing - For FREE
 Instantly
 run your Selenium tests across 300+ browser/OS combos.  Get
 
 unparalleled scalability from the best
 Selenium testing platform available.
 Simple
 to use. Nothing to install. Get started now for
 free."
 http://p.sf.net/sfu/SauceLabs
 _______________________________________________
 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