hi,
i have built a simpel custom contol it have some radio button and checkboxes also some properties like upoints etc..
then i paste it to my form. then i built 12 instatnces of this control thru codes at runtime...
for i = 2 to 12
dim ucnt as new myuc1
ucnt.name="myuc"+tostring(i)
'set the positions and show it
next
works fine
whenever user click on checkbox or radio buttons the upoints has changed
now how i get the 12 controls point property at run time thru codes
i wrote this
dim cnt as control
for each cnt in mypanel.controls
if instr(cnt.name,"myuc") > 0 then
msgbox(cnt.upoints) <<<<< give error here by compiler bcoz upoints is not define...
end if
plz help me