ISOFX Posted August 28, 2015 Share Posted August 28, 2015 Hello How do i show a notification while Im on a checkbox, so while im hovering over it. Thanks Link to comment Share on other sites More sharing options...
GeorgeZhang Posted August 29, 2015 Share Posted August 29, 2015 (edited) use OnItemChanged event: mymenu.OnIndexChange += (sender, index) =>{ if(index == k)//k is the index of your checkbox's item { UI.ShowSubtitle("Toggle?", 3500); }}; Hope it helps:) Edited August 29, 2015 by GeorgeZhang Link to comment Share on other sites More sharing options...
ISOFX Posted August 29, 2015 Author Share Posted August 29, 2015 (edited) @GeorgeZhang Thanks I will Try! EDIT: Thanks it works Edited August 29, 2015 by ISOFX GeorgeZhang 1 Link to comment Share on other sites More sharing options...
Zrathex Posted December 5, 2015 Share Posted December 5, 2015 (edited) @GeorgeZhang Thanks I will Try! EDIT: Thanks it works If you read this... Do you know were I should put it [C++]? Thanks Edited December 5, 2015 by Zrathex Link to comment Share on other sites More sharing options...
ISOFX Posted December 5, 2015 Author Share Posted December 5, 2015 @GeorgeZhang Thanks I will Try! EDIT: Thanks it works If you read this... Do you know were I should put it [C++]? Thanks This is coded in C# and NativeUI is coded in C#. Not sure how to do this in C++. Link to comment Share on other sites More sharing options...
leftas Posted December 14, 2015 Share Posted December 14, 2015 @GeorgeZhang Thanks I will Try! EDIT: Thanks it works If you read this... Do you know were I should put it [C++]? Thanks If you on c++ then I'm pretty sure you're using global value to save the index. So just use that code where code gets called frequently. Also if you want only to show a notification, limited time you should also make a bool. All the best, Paul. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now