For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 13 replies, 3 voices, and was last updated 12 years, 3 months ago by
KariSolamaki.
-
AuthorPosts
-
ycjMemberSelect List Menu widget is very useful. However, it would be nice not have to click “Back” button when an item has been selected. Is there a way to bypass the “Back” button and return to the previous page as soon as an item has been selected?
Thanks.December 9, 2013 at 9:06 pm #345122
KariSolamakiMemberHi, you can add a function into list On Change property.
Function is as follows: window.history.back();Br, ET
December 9, 2013 at 9:37 pm #345124
ycjMemberIt does not seem to work. The only time OnChange calls the function is when “Back” button is pushed.
ycj
December 9, 2013 at 10:19 pm #345126
KariSolamakiMemberYou should put the function into list OnChange property…
see the attached picture.Br, ET
Attachments:
You must be logged in to view attached files.December 9, 2013 at 10:55 pm #345127
ycjMemberIt still does not work. It only goes back when clicks “Back”.
December 10, 2013 at 12:30 am #345132
KariSolamakiMemberTested in MobiOne 2.5 and MobiOne Web Simulator and it works for me…
Are you using multipage or normal page system?Br, ET
http://www.einotes.comDecember 14, 2013 at 10:09 am #345248
ycjMemberI have version 2.5 also. I just created only 1 select list menu widget. I believe it is normal page. It still does not catch any action.
ycj
December 14, 2013 at 12:57 pm #345249
KariSolamakiMemberHi,
take a look at this project.
It makes page navigation in different ways.Attachments:
You must be logged in to view attached files.December 14, 2013 at 1:20 pm #345250
ycjMemberWhat I have problem with is “Select List Menu” widget not “Select List”.
What I like about this widget is that it updates the selected item after selection on the main menu. However, after selection is done I need to click the “Back” button, which seems to be an unnecessary step.Attachments:
You must be logged in to view attached files.December 14, 2013 at 1:57 pm #345251
KariSolamakiMemberOk,
the problem is as follows: the select list menu doesn’t have OnChange property.
Does this help, check the youtube video: http://www.youtube.com/watch?v=U2ujNBpw34Abr, ET
December 14, 2013 at 3:16 pm #345252
ycjMemberAny plan on implement this OnChange() feature in the near future?
December 14, 2013 at 3:48 pm #345254
KariSolamakiMember@ycj wrote:
Any plan on implement this OnChange() feature in the near future?
That’s a question which I can’t give an answer…
I am not involved with Genuitec or any other company,
just learning the environment for my own purposes 😉Br, ET
http://www.einotes.comDecember 16, 2013 at 1:05 pm #345283
support-octavioMemberHi ycj,
>Any plan on implement this OnChange() feature in the near future?
Note that when you add a SLM widget in your design, the element that is selected in the outline view is the list(attachment 1) and the element that contains the onChange action for the select list menu is the select list menu widget (attachment 2)See attachment SLM1.png
See attachment SLM2.pngAttachments:
You must be logged in to view attached files.December 16, 2013 at 6:01 pm #345294
KariSolamakiMember@support-octavio wrote:
Note that when you add a SLM widget in your design, the element that is selected in the outline view is the list(attachment 1) and the element that contains the onChange action for the select list menu is the select list menu widget (attachment 2)
Fine answer, I did not investigate it thoroughly… Thank you, Octavio, I also will keep this in my mind for further use!
-
AuthorPosts
