M
mkhmer
Hi, Can anybody help me on this error?
All the time I try to assing the "TopMargin" property to a control at
runtime, it always return error:
========
"Object doesn't support this property or method You entered an expression
that has an invalid reference to the property topmargin"
========
My code is:
========
For each Ctl in MyForm.Controls
Ctl.Setfocus
Ctl.Properties("TopMarging")=0.05 'this line return error
Ctl.Properties("FontName")="Tahoma" 'this line work
Next
========
Your help is appreciated.
Thanks,
MKHMER
All the time I try to assing the "TopMargin" property to a control at
runtime, it always return error:
========
"Object doesn't support this property or method You entered an expression
that has an invalid reference to the property topmargin"
========
My code is:
========
For each Ctl in MyForm.Controls
Ctl.Setfocus
Ctl.Properties("TopMarging")=0.05 'this line return error
Ctl.Properties("FontName")="Tahoma" 'this line work
Next
========
Your help is appreciated.
Thanks,
MKHMER
