[GB.INFO]

Testing in Gambas3 Rev 3206 and Gambas 2.21.
SO: Ubuntu 9.10 i386

* Create proyect GTK.
* Add Control Listview
* Add three controls Button.
* Add Class Class1
* Add two forms.


* Code in Button1:

  Dim x As Byte
  
  For x = 0 To Info.Classes.Count - 1 
   ListView1.Add(x, Info.Classes[x])
  Next

  Result: No Class are displayed in Listview.

*Code in Button 2:
  
  Dim x As Byte 

  For x = 0 To Info.forms.Count - 1 
   ListView1.Add(x, Info.forms[x])
  Next

  Result: No forms are displayed in Listview

**Code in Button 3:
  
  Dim x As Byte 

  For x = 0 To Info.forms.components - 1 
   ListView1.Add(x, Info.components[x])
  Next

  Result: gb,gb.cairo,gb.chart.....etc. Good.

Console displays the following output when running the program.

ComponentInfo.ComponentInfo.0: gb.Text
ComponentInfo.ComponentInfo.0: gb.Text
ComponentInfo.ComponentInfo.0: gb.Text
ComponentInfo.ComponentInfo.0: gb.Text
....
....

Is this correct?

Regards

Cristian Abarzua F.


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to