LPARAMETERS pnPage local laPage(10), lcPage, loPage *!* Which container from my class library depending on which page laPage(1) = "if_about" laPage(2) = "if_folder" laPage(3) = "if_er" laPage(4) = "if_eex" laPage(5) = "if_sch" laPage(6) = "if_inq" laPage(7) = "if_enr" laPage(8) = "if_cust" laPage(9) = "if_settings" laPage(10)= "if_log" lcPage = "thisform.pIflex.page"+allt(str(pnPage)) loPage = &lcPage lcPage = lcPage + ".oPage" if type(lcPage) = "U" then *!* Container doesn't exists, add it loPage.addobject("oPage", laPage(pnPage)) loPage.oPage.left = 0 loPage.oPage.top = 0 loPage.oPage.visible = .T. loPage.oPage.refresh() endif thisform.pIflex.activepage = pnPageHTH,