Topic: [Solved] Array and tableGrid
Hello Dmitry and all MVD fans,
I know, I know, I am the champion of hawkward questions... I'm sorry
Anyway, here is the problem.
Lets say I have a string like this :
artist_url := 'Me,URL1,You,URL2,Him,URL3';
As you see, it is coma seperated.
So, logicaly, I split this string into an array :
artist_array := SplitString(artist_url,',');
and so I get an array with 6 lines indexed from 0 to 5 like :
artist_array[0] -> Me
artist_array[1] -> URL1
artist_array[2] -> You
artist_array[3] -> URL2
artist_array[4] -> Him
artist_array[5] -> URL3
great....
Now, how can I display the result in a TableGrid like this ? :
Do you see the problem ? I've tried to use odd(i) and even(i) but failed miserably...
1- How would you do ?
2- Is it the best solution for what I'm trying to do (the array) ? Maybe a 2 dimentional array ?
Cheers
Mathias
Each time I get a divorce, I keep the house
Zaza Gabor