El Tab Control debe ser usado como un remplazo directo del tab control que es nativo de PowerBuilder. Al usar este control usted moderniza su aplicación de manera inmediata. Este control puede ser personalizado en diferentes formas:
//Open Event of window that contains the tab control //Or the post constructor event of the userobject that contains the tab control //Add images to the tab controls image array //The first call creates element 1, the second element 2 and so on uo_tabcontrol.of_AddImage('SQL!') uo_tabcontrol.of_AddImage('StaticText!') uo_tabcontrol.of_AddImage('ArrangeIcons!') //Open userobject as tab uo_tabcontrol.of_OpenTab(iuo_1, 'Toolbarstrip', 1) uo_tabcontrol.of_OpenTab(iuo_3, 'Shortcutbar', 2) uo_tabcontrol.of_OpenTab(iuo_4, 'Buttonlistbar', 3) //Select the first tab uo_tabcontrol.of_SelectTab(1) //Set the tab style to VS2005 uo_tabcontrol.of_SetStyle(uo_tabcontrol.VS2005)