Consider the following procedure from Form_Main

Private Sub InitializeControls()
   Dim hFormX As FormX
   Dim hFormY As FormY

   TabStrip1.Index = 0
   hFormX = New FormX(TabStrip1) As "X_Form"

   TabStrip1.Index = 1
   hFormY = New FormY(TabStrip1) As "Y_Form"


   TabStrip1.Index = 0
End

   If I then try to reference X_Form or Y_Form (to access a property or 
method) by using the name "X-Form" or "Y_Form" (from within Form_Main), 
I get an "Unknown identifier "X_Form".
   Question: How do I reference properties or methods inside the 
instantiated forms?

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to