User interface screens and all they contain are updated automatically in real time when their properties change. A two-way binding exists between faces and facets. When either one of them changes, the other follows accordingly. We won't use it in our examples, but if you as a developer want to control when the screen is updated, you need to do the following:
- Turn the auto-sync option off—system/view/auto-sync?: off
- Use the show function such as show face to update the widget
=> Find out in question 3 from the Questions section how to code a button to close the window.