How Do I Prevent the Subform from Being Refreshed If It Is Not Visible? (Magic xpa 3.x)
Sometimes it is useful to have subforms that disappear. They could be on a Tab control, or there could be several subforms that are stacked, with only one visible at a time. In this example, the Shipping Information can expand or disappear as needed, and the other controls are repositioned using the Y property. However, if the subform is not being shown, there is no point in wasting processing time to keep the information refreshed.
To prevent the subform from being refreshed, set the Refresh when Hidden property to False. Then, the subform will only be refreshed when it is visible.
The Online and Rich Client Samples projects (program SB10 and RSB10)