So my company uses NAV 4.0 (SP1 & SP3), I have not tried this in SP3 yet but here goes my problem...
At runtime I have a form that acts as both a List & Card for a table. I want the card only modifiable when the user clicks a button. So therefore I have several fields set to Editable := TRUE or FALSE frequently. My dilemma is after a control has been set to Editable := FALSE and back to TRUE the background color still shows grayed out, and so far the only way to remedy this is to hide the form and show it again (visible := false -> true) which looks rather glitchy and unpleasant.
Anyone have any ideas? or a better suggestion to complete the task at hand?
0
Answers
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Try it... Set a field to Editable := FALSE, with it initially being set to TRUE, and you'll notice the background is still white.
This does appear to be a Redraw bug in NAV.
I have tried various different other methods to alleviate this problem, such as Update & UpdateControls, with no results.
As far as 'OnOpen' setting the fields' Editable condition it may adjust the background effectively but only during that procedure. How about the many other times I set the fields to FALSE/TRUE Editable during the course of the form's "life"?
This issue has been bugging me for so long.
It works properly if you initially set the Form/Control to Editable := FALSE in the OnOpen procedure.
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Have you checked the cables?
Have you released the filters?
http://www.navfreak.com