Setting propperties on a FormControl without AutoDeclaration

March 19, 2010 2 comments

When you want to set a property of a control on a form without setting the property AutoDeclaration = yes. You can address the control trough the following code, knowing that element is a FormRun-object:

element.design().controlName("btnOk").visible(false);