Joseph,
> If I click on a button and if the model changes the state variables fast
> enough, the buttons are refreshed and all works fine.
>
> If my model changes the state variables after a while the buttons are
> not refreshed. If I cover the view with another window and if I uncover
> it, the buttons are refreshed.
>
> How can I force automatically the refreshing of the view so that the
> buttons "enabled/disabled state" reflects the model state variables ?
Try #invalidateUserInterface. FWIW, in the code that I recalled doing
something like this, I have the send queued as a deferred action. There
are two likely explanations for that: (1) I moved the code from a
background thread and forgot to remove the queuing; (2) it was necessary
to get it to work.
Have a good one,
Bill
--
Wilhelm K. Schwab, Ph.D.
[hidden email]