[Gambas-user] Testing component GB.INFO
craf
prog at ...2177...
Sun Sep 12 00:20:29 CEST 2010
[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.
More information about the User
mailing list