October 11, 20169 yr Hello, It always go to "Default segment button bar", set on the button bar setting, when reenter to layout. I need to go to same segment when user was working on before he left the layout. I know how to get back to last tab panel used, and I wonder if there would be similar for this. Thanks a lot! Luis.
October 11, 20169 yr Hi Luis, I would suggest two things: Don't leave the layout but rather open a new window, perform the work and then close the window. Use object name to identify each button in the button bar, capture that button name in script parameter and upon layout exit: Set Variable [ $$buttonBar ; GetLayoutObjectAttribute ( Get ( ScriptParameter ) ; "content" ) Upon returning to the layout, include script step of Go To Object [ $$buttonBar ] You may wish to capture the value using OnLayoutExit and apply the step OnLayoutEnter but that would depend upon your use case. It strikes me as odd that it is necessary to return to the same button but that is probably because I can't envision how the layout is used. Edited October 11, 20169 yr by LaRetta corrected script parameter
Create an account or sign in to comment