Ok I might be missing something here. I have a splitpanel as the main layout for the app. Left shows menu right side shows panel as required. When I start the app and press for example the contacts button it should display the "Contacts" panel in the right side. Well it does not. I need to press the button a second time before it display the panel. I am using api_panel.addPanel('TheMainRightSidePanelName','TheNameOfTheCell','ContactsMainPanel'). As I click different menu options using api_panel.addpanel to show the relevant panels works then fine. It is only the very first time. I ran with the debugger mode. It shows the event BUTTONPRESS and the action which calls the procedure. The only line in the procedure is the api_panel.addpanel call. The first time it just stops. |
All, This seems to be a bug for the time being. There is a workaround though.
Change it to
Note! Make sure the same panel is "added" twice. If you add the for example panel_1 and panel_2 it will not work. It is only the very first time after you started up your application. |