How to enable check box dynamically in Microsoft Dynamics Navision

For enable /Disable the check box from the CAL code or dynamical base on some trigger action you cannot do directly fieldname.Properties so you have to do below syntax.

-Make global variable give name ‘CheckboxEnable’ as Boolean
-Go to On Open Page trigger and assign value to the variable 

CheckboxEnable:=TRUE;

-Go to you page design and select checkbox and open its properties 
-Find the properties name ‘Enabled’ and assign its values CheckboxEnable
-Now go to you CAL code windows and use CheckboxEnable variable for make enable or disable the  check box if you write CheckboxEnable:=FALSE; it will make check box disable.

Comments

Popular posts from this blog

How to get column value from the selected row in data grid in wpf c#.net

How to make and use web service in Microsoft Dynamics Navision.

How to use Format function in Microsoft Dynamics Navision.