[Gambas-user] Arrays !, Sighhhhhh
Steven Lobbezoo
steven at ...1652...
Mon Jan 21 23:00:25 CET 2008
Hi,
In a form class i do :
ColTable[20] AS String[]
'21 times 6 strings to define a maximum of 20 columns for the grid
The global variable is used in different ways in different modules in the
class file.
So far so good, all works as expected .
I put, for exaple this in it :
ColTable[0] = ["No", "No", "32", "Right", "", ""]
ColTable[1] = ["Prenom", "Prenom", "96", "Left", "", ""]
ColTable[2] = ["Nom", "Nom", "150", "Left", "", ""]
ColTable[3] = ["Adresse", "Adresse", "160", "Left", "", ""]
ColTable[4] = ["Ville", "Ville", "160", "Left", "", ""]
ColTable[5] = ["Pays", "Pays", "150", "Left", "", ""]
But, as soon as i activate a modal form to do some work, the first string of
all string[]'s are erased!
So, i get for instance in ColTable[1] : ["", "Prenom", "96", "Left", "", ""]
The modal form does not manipulate ColTable in any way !
Any ideas ?
Steven
Suse 10.3, Gambas 1.9.91, Under Gnome 2
More information about the User
mailing list