on 10-10-2008 7:52 AM
I have a tabstrip with 4 tabs.
Depending on some user settings or other variables, I would like to move one of the tabs to a new position.
I tried this in WDDOMODIFYVIEW, using the classes cl_wd_tabstrip and cl_wd_tab.
The only solution I found to move the tab is to remove the tab and to add it again at a new position afterwards.
lr_tab = lr_tabstrip->remove_tab( id = 'TAB4' ).
IF lr_tab IS BOUND.
lr_tabstrip->add_tab( the_tab = lr_tab position = 2 ).
ENDIF.
This code works, but isn't there a possibility to do it without REMOVE?
Furthermore, it seems that there is no easy solution to find out the position of a given tab, or can somebody tell me one?
Thx and regards,
D.
Hi,
Any updates ? Have you found the solution ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
marked as answered because I can only have 10 open questions...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.