Hello everyone,
In a custom form, how to show and hide control or field now days ? If lets say I'm using Menu item display parameter, how is the code looks like and where we should put it ?
For example :I created form like below:

As this form called using menu item. I put enum parameter in its property. Several menuitem calling this 1 form, and I just put enum parameter each. So on certain enum value, some of the action pane above (lets say aptabCustomer) need to be hidden.
Also some field in the detail information (not showing in the image), will need to be hidden as well.
Where I should put the checking and how ? is it in this form or I should create Even Handler class for this ?
Thanks,