When looping thru the elements array, what determines what element is elements[0], elements[1], etc? Is it the placement of the elements on the form?
Regards,
Sean
When looping thru the elements array, what determines what element is elements[0], elements[1], etc? Is it the placement of the elements on the form?
Regards,
Sean
Hi Sean
While waiting for a definitive answer from the gurus you could try:
for (var i in elements)
{
var vElementName = elements
}
[/quote]
Then switch debugger on and step through the method monitoring the values of i and vElementName on the variables tab.
Regards
Graham Greensall
Worxinfo Ltd
Hi Graham,
I don’t think it’s the placement order. I was initially thinking the named element that was topmost and leftmost would be number 0. Doesn’t seem to be the case
Sean
Since everything is stored in a database, it is probably sorted by creation order… Just a guess.
I believe it’s the order in which you ORIGINALLY placed the items (i.e. the order they were created in the Servoy repository database).
I think that’s what I said, Bob
Sorry, my German isn’t that good…
It’s early in the morning here…
Thanks for looking into this.