I have a tab panel that displays a status bar on all my forms. This status bar is loaded with the graphics appropriate to the module the user is in. There are only two graphical elements that are displayed using the following code:
forms.frm_statusBar.elements.img_statusBar.setImageURL('media:///projectsStatusBar.jpg');
forms.frm_statusBar.elements.img_recordNav.setImageURL('media:///projectsRecordNav.jpg');
If I go from one form to another, and then back again, the graphics display fine. However, if I do this three to four times, suddenly the “recordNav.jpg” graphic disappears and no longer shows up. It’s almost as though the “StatusBar.jpg” graphic is being displayed on top of the “RecordNav.jpg” button, which is not where it is.
I tried using Application.updateUI, but it does not keep the second graphic from sometimes disappearing.
This is clearly a bug related to the use of graphics in tab panels. Sometimes they are there, and sometimes they are not.