TorontoJim Active Member Licensed User Longtime User Mar 24, 2016 #1 I get an error that the Object should first be initialized (TabPane) This is in Process_Globals Code: Copy Private tabPaneMain As TabPane ...and this is in the AppStart Code: Copy tabPaneMain.Initialize() TabPane1.LoadLayout("team_calculator", "Teams") TabPane2.LoadLayout("shifts_tab", "Shifts") TabPane3.LoadLayout("show_count", "Count") The initialize() is asking for an event name, but I have no idea which event should go in there nor what format to make the entry. Also, the tip that comes up says not to initialize the tabPane if the node is added through the designer. I did add it via the designer, but I get the same error if I remove the tabPaneMain.initialize() from the AppStart(). Can someone please elucidate as to what goes in as the Event Name? Is it a subroutine name? A reference?
I get an error that the Object should first be initialized (TabPane) This is in Process_Globals Code: Copy Private tabPaneMain As TabPane ...and this is in the AppStart Code: Copy tabPaneMain.Initialize() TabPane1.LoadLayout("team_calculator", "Teams") TabPane2.LoadLayout("shifts_tab", "Shifts") TabPane3.LoadLayout("show_count", "Count") The initialize() is asking for an event name, but I have no idea which event should go in there nor what format to make the entry. Also, the tip that comes up says not to initialize the tabPane if the node is added through the designer. I did add it via the designer, but I get the same error if I remove the tabPaneMain.initialize() from the AppStart(). Can someone please elucidate as to what goes in as the Event Name? Is it a subroutine name? A reference?
TorontoJim Active Member Licensed User Longtime User Mar 24, 2016 #2 After I added the layouts for the pages, this error went away. Fixed itself Upvote 0