![]() 1.0 release is expected for this weekend or next monday/tuesday. ![]() The example in the OP is for 0.9 and will not work for the github version. Then you can use myMenuPool.ProcessMenus(). In your script constructor you will have to initialize it and then add every menu you create to it with myMenuPool.Add(myMenu). MenuPool has been changed since 0.9, it's no longer static. at .b_8_0(UIMenu menu) at `1.MoveNext() at () at () at (Object o, EventArgs e) at _Tick(Object value0, EventArgs value1) at ()the code causing the error is just as helpful as the error code if not moreīut the problem is Guad's menu also not show when i hit F5 System.NullReferenceException: Object reference not set to an instance of an object. That has been fixed already, you can grab it off girhub.Sir, another error after update to your latest source code on github ![]() Public Sub CategoryItemSelectHandler(sender As UIMenu, selectedItem As UIMenuItem, index As Integer) Dim nl = Environment.NewLine UI.Notify("Name: ~b~" & selectedItem.Text & nl & "~s~Model: ~r~" & selectedItem.Model & nl & "~s~Hash: ~y~" & selectedItem.Hash & nl & "~s~Price: ~g~" & selectedItem.Price) End Sub Public Sub CategoryItemChange(sender As UIMenu, index As Integer) Dim nl = Environment.NewLine UI.ShowSubtitle("Name: ~b~" & sender.MenuItems(index).Text & nl & "~s~Model: ~r~" & sender.MenuItems(index).Model & nl & "~s~Hash: ~y~" & sender.MenuItems(index).Hash & nl & "~s~Price: ~g~" & sender.MenuItems(index).Price) End Sub There's a bug: if you press enter on the previous menu, and it will goto new menu.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |