hi everyone,
i have a code which i want to move place of labels. i do like below, but it takes time in this method, is there any other way to do it easyly?
thank you
Label53.Left = Label52.Left + Label52.Width
Label54.Left = Label53.Left + Label53.Width
Label55.Left = Label54.Left + Label54.Width
Label56.Left = Label55.Left + Label55.Width
Label57.Left = Label56.Left + Label56.Width
Label58.Left = Label57.Left + Label57.Width
maybe which help me to do for loop similar below?
for x=52 to 57
Label5(x+1).Left = Label5(x).Left + Label5(x).Width
next x
i have a code which i want to move place of labels. i do like below, but it takes time in this method, is there any other way to do it easyly?
thank you
Label53.Left = Label52.Left + Label52.Width
Label54.Left = Label53.Left + Label53.Width
Label55.Left = Label54.Left + Label54.Width
Label56.Left = Label55.Left + Label55.Width
Label57.Left = Label56.Left + Label56.Width
Label58.Left = Label57.Left + Label57.Width
maybe which help me to do for loop similar below?
for x=52 to 57
Label5(x+1).Left = Label5(x).Left + Label5(x).Width
next x