This code is part of «VDF GUIdance»
Visit us @ http://www.vdf-guidance.com
e-Mail us @ info@vdf-guidance.com
VDF GUIdance is a mutual project of
Frank Vandervelpen - Vandervelpen Systems and
Wil van Antwerpen - Antwise Solutions

Retrieve disappeared objects

Every now and then you will find out that tabdialogs and tabpages are loosing their objects. You know that they are still there, but they somehow seemed to be disappeared

This usually happens after sending request_clear.

A workaround for this problem is to use the "Set Visible_State Of hDisappearedObject To True"

Where hDisappearedObject should be replaced with the objects name

You can do this simply by augmenting the activate procedure of the tabdialog or by setting it from another location if you want. Just as long as the View is activated.

 

Example:

Procedure Activate Returns Integer

Local Integer bActivate

Forward Get MSG_Activate To bActivate

Set Visible_State Of (oCustomer(Self)) To True

Procedure_Return bActivate

End_Procedure // Activate