Below is my scenario.
I have a section in an OVP floor plan Main Page.
In this section, I am supposed to show 4 LIST GUIBBs but one at a time.
I am supposed to load individual LIST GUIBBs based on some action from another section of the same page.
What I have done currently is, I have added 4 LIST GUIBBS in the section, set the 'Hidden element' attribute of all of them to 'Hidden but processed in the event loop'. And then in the OVP exit method OVERRIDE_EVENT_OVP, depending on the external event, I change the Visibility of the required LIST GUIBB. This works fine. However, I just wanted to know if there is any other better alternative which will allow me to navigate back and forth between individual UIBBS ( Not the Page Navigation ). In my approach, all the GUIBBS are being instantiated at once even though they are not visible.
I want to load only the one which I want.
Jens Boeckenhauer replied
In the OVERRIDE_EVENT_OVP method you can remove all unwanted UIBBs and add only the single one you want. Then only the visible one will be instantiated. Once you swap (with the analogous logic), the next one will be instantiated, so it is instantiation on demand.