Salesforce

How Do I Prevent the Subform from Being Refreshed If It Is Not Visible? (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

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.

See also

The Online and Rich Client Samples projects (program SB10 and RSB10)

Reference
Attachment 
Attachment