ok, is there a was to put into a string or field the name of a control that is on your form, like a label, and then summon that name from the string and set it as a control in your code, like this but then in a way that works:
dim str as string
private sub button1_click()
dim ctl as control
str = "label1"
set ctl = str.name
ctl.caption = "works"
end sub
now this is just an example, but does anyone know in what way this is possible?
dim str as string
private sub button1_click()
dim ctl as control
str = "label1"
set ctl = str.name
ctl.caption = "works"
end sub
now this is just an example, but does anyone know in what way this is possible?