Hi,
I have a tabstrip where each tab refers to (the same) subscreen area, where the subscreen contains custom container holding Html Viewer(s) (CL_GUI_HTML_VIEWER) for displaying a pdf.
Each tab has own instance of html viewer... on first display of tab the viewer is revealed using show_url( ).
On tabswitch, in PAI, the active viewer is set to invisible using set_visible( visible_false ) and in the PBO, depending on whether the viewer for the tab to be revealed has already been shown, either the show_url( ) or set_visible( visible_true ) is called. The trouble is - set_visible( visible_true ) seems to function "unreliably". Often (but not always) viewer does not reapper automatically and only reappears if I press Enter or try to page the content... if I do something after tabswitch, in other words.
CL_GUI_CFW=>FLUSH( ) or UPDATE_VIEW( ) after set_visible( visible_true ) in PBO does not help to fix the strange behaviour. Using show_url( ) after set_visible( visible_true ) of course fixes the behavior, but the content is "reloaded" - scroll position in Acrobat Reader is lost, the content "flickers", etc.
Does anybody have an idea what's going on; what am I missing, or doing wrong? Ideally, I'd like not to be forced to "reload" content on tabswitch...
Thank you and cheers,
Janis