Change color of non-editable field on Navision page
Whenever you make a field non-editable on the page and if that field does not have any table relation set on the table then the background of the field shows in grey color as show in the below figure
For this example I made the salesperson code field non-editable on the customer card page, as you can see it shows value in the blue but where as the Last Date Modified field textbox background is gray it is little dull and sometimes hard to read, it is not a big deal but how can you make that field look like salesperson code field without any table relation ?
[](http://lh3.googleusercontent.com/-L7KpZr0Xv4o/Vc4Q_c6gfGI/AAAAAAAAJX0/fNpzy7AGOMs/s1600-h/image3.png)
Figure 1: Customer Card showing Salesperson Code and Last Date Modified fields in non-editable mode.
There is a field property called “**LookUp**”, which provides a lookup window for the textbox, you normally don’t see this property being used other than on Journal Pages or other. Ex: Item Journal, General Journal…. . This property is set there because the batch name field source is a variable so you have to explicitly set to LookUp.
Even though we don’t want to lookup in this scenario, but if you set this property to true on the above field “**Last Date Modified**” then the field will look as shown in the below figure
[](http://lh3.googleusercontent.com/-Hljwe2mZHSg/Vc4RY4nHtBI/AAAAAAAAJYA/rHFuFn2zVtg/s1600-h/image7.png)
Figure 2: Customer Card showing Salesperson Code and Last Date Modified fields in non-editable mode after setting LookUp
Please let me know your comments and suggestions.
Leave a comment