1-Visitor
March 29, 2019
Solved
Layout into tab using toolkit
- March 29, 2019
- 1 reply
- 2325 views
Hello
We need a tab into layout and tab must have 5 different layout.
Attached is image for reference.This is created into UI editor. Now, consider a layout above Cancel and OK buttons. That layout is for example having name as "loTab". Inside this layout, tab named as '"tab" need to be added and this tab should have A,B,C,D and E as 5 different layout. This need to be achieved through toolkit API.
Below is sequence of API we are using. But not getting required display of 5 different tab:
- ProUILayoutTabAdd() to add "tab" named tab into layout "loTab"
- ProUITabLayoutAdd() to add first layout named as A into tab component
- ProUITabLayoutsInsert() to add 4 layouts named as B to E into tab component after layout named as A
- 5 time call to API ProUILayoutDecorate() to decorate all 5 layouts named as A to E.
- ProUITabLabelsSet() to set layout title as A to E
Any hint would be great help. Feel free to ask for any clarification.
Thanks and Regards
Ketan

