cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X

Layout into tab using toolkit

Ketan_Lalcheta
19-Tanzanite

Layout into tab using toolkit

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

 

ACCEPTED SOLUTION

Accepted Solutions

This issue is resolved. Instead of using API ProUITabLayoutsInsert(), we should use only ProUITabLayoutAdd().Additionally use API ProUITabShow and ProUITabDecorate.

View solution in original post

2 REPLIES 2

any hint would be more helpful. I am having Creo 4.0 M030

This issue is resolved. Instead of using API ProUITabLayoutsInsert(), we should use only ProUITabLayoutAdd().Additionally use API ProUITabShow and ProUITabDecorate.

Announcements


Top Tags