3 Replies Latest reply on Oct 7, 2007 10:29 AM by kglad

    text field function

      hey everyone,

      i have been trying to create a function that will allow me to generate text fields dynamically every time i call it. all of the arguments are working perfectly well, except for the instance name string (the one called txtName). whenever i take it out and assign a specific name non-dynamically, it works perfectly fine, but when i put it back in and give it a string variable, it stops working. the thing is that i need to address each text box by its instance name later.

      i assume that the problem resides in the fact that one needs to take out the quotation marks of the instance name when addressing the properties, but i don't know how to do it. perhaps i am doing it all wrong and i should approach it differently?

      any advice would be greatly appreciated.