Tattooshop Posted February 16, 2020 Share Posted February 16, 2020 I click on an object and a menu appears. I click on the button, an action occurs, but the menu no longer appears and I have to click on the object again. How to make the menu not disappear after selecting the button? Link to comment Share on other sites More sharing options...
SubZeroWins Posted February 16, 2020 Share Posted February 16, 2020 Make sure the listener is not removed 1 Link to comment Share on other sites More sharing options...
Nova Convair Posted February 16, 2020 Share Posted February 16, 2020 If you click a button the menu dissapears. Expected behaviour - that's the way it works. To keep it - you just open it again. 1 Link to comment Share on other sites More sharing options...
Mollymews Posted February 16, 2020 Share Posted February 16, 2020 showMenu() { llDialog .... } touch() { showMenu(); } listen (...) { .. do button response... showMenu(); } 1 1 Link to comment Share on other sites More sharing options...
Tattooshop Posted February 16, 2020 Author Share Posted February 16, 2020 38 minutes ago, Mollymews said: showMenu() { llDialog .... } touch() { showMenu(); } listen (...) { .. do button response... showMenu(); } Perfect! Thank you! 2 Link to comment Share on other sites More sharing options...
AdminGirl Posted March 9, 2020 Share Posted March 9, 2020 Hope it's ok to tag off this thread. If I'm working with a multi-page menu, is there a way to re-open the most recent menu page, eg. if I scrolled to page 2 of the menu and selected a button from there, how would I get the menu to open back on page 2? 1 Link to comment Share on other sites More sharing options...
Kyrah Abattoir Posted March 9, 2020 Share Posted March 9, 2020 By design llDialogs CLOSE when an option is selected, it's up to you, as the scripter to re-open the menu if you believe it is more convenient for the user. 3 minutes ago, AdminGirl said: Hope it's ok to tag off this thread. If I'm working with a multi-page menu, is there a way to re-open the most recent menu page, eg. if I scrolled to page 2 of the menu and selected a button from there, how would I get the menu to open back on page 2? As a scripter, you have to code that explicitely. As a user, there is nothing you can do, popup menus were never designed to be used as full blown interfaces, so any behavior you observe in one or another products is completely driven by the script you are interacting with. 1 1 Link to comment Share on other sites More sharing options...
AdminGirl Posted March 13, 2020 Share Posted March 13, 2020 On 3/10/2020 at 2:01 AM, Kyrah Abattoir said: By design llDialogs CLOSE when an option is selected, it's up to you, as the scripter to re-open the menu if you believe it is more convenient for the user. As a scripter, you have to code that explicitely. As a user, there is nothing you can do, popup menus were never designed to be used as full blown interfaces, so any behavior you observe in one or another products is completely driven by the script you are interacting with. Thanks Kyrah 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Please take a moment to consider if this thread is worth bumping.
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now