Hello All,
I am using a dashboard control I have 2 widgets that do the same thing just different layout. Each widget has 3 popup menus defined in their internal window. When the widgets are changed with code the popup menus do not change, the old internal window popups stay and when called trows an error.
code used to load different configurations.
has anyone seen this and has a work around
DW
I am using a dashboard control I have 2 widgets that do the same thing just different layout. Each widget has 3 popup menus defined in their internal window. When the widgets are changed with code the popup menus do not change, the old internal window popups stay and when called trows an error.
code used to load different configurations.
//Stops the window from flickering MyWindow..DisplayEnabled = False //This will unhide all widgets so the saved config can be used DashLoadConfiguration(DASH_SalesHome,"") //See which screen to load SWITCH gclDashConfig.m_nScreenUsed CASE 1 sDashConfig_1 is string = gclDashConfig.m_sSalesHomeConfig_1 DashLoadConfiguration(DASH_SalesHome,sDashConfig_1) DASH_SalesHome..ElementWidth = gclDashConfig.m_nCellWidth_1 DASH_SalesHome..ElementHeight = gclDashConfig.m_nCellHeight_1 CASE 2 sDashConfig_2 is string = gclDashConfig.m_sSalesHomeConfig_2 DashLoadConfiguration(DASH_SalesHome,sDashConfig_2) DASH_SalesHome..ElementWidth = gclDashConfig.m_nCellWidth_2 DASH_SalesHome..ElementHeight = gclDashConfig.m_nCellHeight_2 END //Load the dash board DashDisplay(DASH_SalesHome) //Let the screen refresh MyWindow..DisplayEnabled = True
has anyone seen this and has a work around
DW