6 Replies Latest reply on May 17, 2011 6:20 AM by Nico Weyens

    How to change current field background color

    Nico Weyens

      I have created a simple example file to demonstrate my problem.


      1) The user clicks on a field (left mouse click) and a popup menu appears.
      2) The user makes his choice (in this example, the user chooses a color)

      3) The active field (mouse cursor) will be changed (fillColor) to reflect the user's chosen color


      My problem is that the change of background color (fillColor) is only visible AFTER navigating

      away from the active field.


      The use of xfa.layout.relayout() after setting the new color does not help.


      Any help much appreciated!