Noelkman Member Licensed User Longtime User Jul 26, 2017 #1 Hi there, the Searchview from Erel is a really great class - I love it! But I think there is some kind of a weird error somewhere. Propably not in the class but in the lib that I'm talking about. If I add the library "StdActionBarHelper" I get an error saying "Unknown member SetItem" which is a Sub in the SearchView I tried to change the Name to SetItem2 but the error then says "Unknown member SetItem2" Anyone else had this?
Hi there, the Searchview from Erel is a really great class - I love it! But I think there is some kind of a weird error somewhere. Propably not in the class but in the lib that I'm talking about. If I add the library "StdActionBarHelper" I get an error saying "Unknown member SetItem" which is a Sub in the SearchView I tried to change the Name to SetItem2 but the error then says "Unknown member SetItem2" Anyone else had this?
Erel B4X founder Staff member Licensed User Longtime User Jul 26, 2017 #2 Can you upload a small project that demonstrates this issue? Upvote 0
Noelkman Member Licensed User Longtime User Jul 26, 2017 #3 Erel said: Can you upload a small project that demonstrates this issue? Click to expand... Will do. Upvote 0
Noelkman Member Licensed User Longtime User Jul 26, 2017 #4 Erel said: Can you upload a small project that demonstrates this issue? Click to expand... Here you go Erel Attachments blank-b4a.zip blank-b4a.zip 7.9 KB · Views: 258 Upvote 0
Erel said: Can you upload a small project that demonstrates this issue? Click to expand... Here you go Erel
Erel B4X founder Staff member Licensed User Longtime User Jul 26, 2017 #5 The method name is SetItems. Not SetItem or SetItem2. Upvote 0
Noelkman Member Licensed User Longtime User Jul 26, 2017 #6 Erel said: The method name is SetItems. Not SetItem or SetItem2. Click to expand... You are right Erel It was a mistyping in my post and the code but the error is reproduceable. When StdActionbarHelper is imported the member "SetItems" is not longer listed. Even SetIndex is gone too. Upvote 0
Erel said: The method name is SetItems. Not SetItem or SetItem2. Click to expand... You are right Erel It was a mistyping in my post and the code but the error is reproduceable. When StdActionbarHelper is imported the member "SetItems" is not longer listed. Even SetIndex is gone too.
Erel B4X founder Staff member Licensed User Longtime User Jul 26, 2017 #7 Is there an object type named SearchView in StdActionBarHelper? Upvote 0
Noelkman Member Licensed User Longtime User Jul 27, 2017 #8 If you are asking me I don't know but thats exactly what I think. There could be a collision. The StdActionBarHelper is a library from Corwin42 I guess. He should know that. Upvote 0
If you are asking me I don't know but thats exactly what I think. There could be a collision. The StdActionBarHelper is a library from Corwin42 I guess. He should know that.
Noelkman Member Licensed User Longtime User Jul 27, 2017 #9 BTW, maybe someone else is running into this problem. Renaming Erel's SearchView Class to whatever name fixes that. Upvote 0
BTW, maybe someone else is running into this problem. Renaming Erel's SearchView Class to whatever name fixes that.