After searching other topics I'm not sure this one was fully addressed so hopefully it will be helpful.
I am calling repaint on a component, and then I am entering a modal loop on another component. Frustratingly, the repaint message gets delayed until after the modal loop has been exited. What is the proper way to force the first component to get repainted before the modal loop on the second component is entered?