Hi all, this is my first thread.
Is it possible to have an array of visual object on a window?
For instance an array of StaticText:
StaticText st_cod[10]
FOR li_i = 1 TO 10
st_cod[li_i].x = 200 * li_i
st_cod[li_i].y = 200
st_cod[li_i].height = 64
st_cod[li_i].width = 180
st_cod[li_i].BackColor = 255 //just to see it
NEXT
that code does not work!
Even better would be a dynamic size array:
StaticText st_cod[]
FOR li_i = 1 TO n
st_cod[li_i].x = 200 * li_i
st_cod[li_i].y = 200
st_cod[li_i].height = 64
st_cod[li_i].width = 180
st_cod[li_i].BackColor = 255 //just to see it
NEXT
Thank you in advance for your kind replay.
Giampiero (from Italy)
Is it possible to have an array of visual object on a window?
For instance an array of StaticText:
StaticText st_cod[10]
FOR li_i = 1 TO 10
st_cod[li_i].x = 200 * li_i
st_cod[li_i].y = 200
st_cod[li_i].height = 64
st_cod[li_i].width = 180
st_cod[li_i].BackColor = 255 //just to see it
NEXT
that code does not work!
Even better would be a dynamic size array:
StaticText st_cod[]
FOR li_i = 1 TO n
st_cod[li_i].x = 200 * li_i
st_cod[li_i].y = 200
st_cod[li_i].height = 64
st_cod[li_i].width = 180
st_cod[li_i].BackColor = 255 //just to see it
NEXT
Thank you in advance for your kind replay.
Giampiero (from Italy)