Navigation: Ultimate Suite for PowerBuilder Help > Tab Control >

Implementation

Send comments on this topic.

 

Place u_cst_tabcontrol from advguicontrols.pbl\pbd on your window.

Open Event or Post Constructor Event (avoid loading items in the controls Constructor event):

//Open userobject as tab
uo_tabcontrol.of_OpenTab(iuo_1, 'Toolbarstrip''SQL!')
uo_tabcontrol.of_OpenTab(iuo_3, 'Shortcutbar''StaticText!')
uo_tabcontrol.of_OpenTab(iuo_4, 'Buttonlistbar''ArrangeIcons!')

//Select the first tab
uo_tabcontrol.of_SelectTab(1)

//Set the tab style to VS2005
uo_tabcontrol.of_SetStyle(uo_tabcontrol.VS2005)


Copyright © 2021 Werysoft Inc.