Retrieve lost objectsby Wil van Antwerpen
Retrieve lost objects by Wil van Antwerpen
Every now and then you will find that tabdialogs and tabpages have lost some of their objects or controls. You know that they are still there, but they somehow seem to be missing from the tab, usually after sending a request_clear.
A workaround for this problem is to manually set the property visible_state: "Set Visible_State Of hoInvisible To True" Where 'hoInvisible' should be replaced with the objects name You can do this by simply augmenting the activate procedure of the tabdialog or by setting it from another location if you want, as long as it's set when the tab is activated. Example Local Integer bActivate Forward Get MSG_Activate To bActivate Set Visible_State Of (oCustomer(Self)) To True Procedure_Return bActivate End_Procedure Activate If this does not work for you, another suggestion would be to try paging the object when the view activates.
as in: "Send Page_Object To hoInvisible TRUE" |
|||||||||||
Copyright © 1999 - 2024 VDF-GUIdance on all material published, for details see our Disclaimer. |