Saturday, 20 March 2010

AX - Best practice tip for controls

On forms you want to set controls ie enabled or visible
You can do this by specifying the control name or the id but the best way is to do it like this:;
"control" is a system enum that maps the name to the id.

Another advantage of doing it this is, you don't have to set the AutoDeclaration on the form control.

No comments: