vecino Well-Known Member Licensed User Longtime User Sep 10, 2021 #1 Hello, I'm trying Spotlight Menu and each item from the menu goes out at the end a sign "=". What is it for? Can it be deleted? Thanks. Last edited: Sep 12, 2021
Hello, I'm trying Spotlight Menu and each item from the menu goes out at the end a sign "=". What is it for? Can it be deleted? Thanks.
Xfood Expert Licensed User Longtime User Sep 10, 2021 #2 I'm not at home today, I have slightly modified this class, tomorrow I could send them to you Attachments Screenshot_20210910-212511.jpg 510.3 KB · Views: 472 Upvote 1
TILogistic Expert Licensed User Longtime User Sep 11, 2021 #4 vecino said: Hello, I'm trying Spotlight Menu and each item from the menu goes out at the end a sign "=". What is it for? Can it be deleted? Thanks. View attachment 118920 Click to expand... comment: B4X: Copy Dim itemlbl2 As Label itemlbl2.Initialize("itemlbl2") ' itemlbl2.Text = "=" Attachments SpotLight.bas SpotLight.bas 7.8 KB · Views: 495 Upvote 1
vecino said: Hello, I'm trying Spotlight Menu and each item from the menu goes out at the end a sign "=". What is it for? Can it be deleted? Thanks. View attachment 118920 Click to expand... comment: B4X: Copy Dim itemlbl2 As Label itemlbl2.Initialize("itemlbl2") ' itemlbl2.Text = "="
Xfood Expert Licensed User Longtime User Sep 11, 2021 #5 As promised, here is the modified class with a small usage example B4X: Copy ' descrizione ,material ico, colore, dim, bitmap,font awesome splight.additem("Info Programma",Chr(0xE88F),Colors.Black,18,Null,Chr(0xF05A)) Attachments SpotLight.zip SpotLight.zip 12.6 KB · Views: 388 Last edited: Sep 11, 2021 Upvote 1
As promised, here is the modified class with a small usage example B4X: Copy ' descrizione ,material ico, colore, dim, bitmap,font awesome splight.additem("Info Programma",Chr(0xE88F),Colors.Black,18,Null,Chr(0xF05A))
vecino Well-Known Member Licensed User Longtime User Sep 11, 2021 #6 Thanks, friends, I had not seen that the source code is there. What tool to use to add the change to the .jar / .xml file? Upvote 0
Thanks, friends, I had not seen that the source code is there. What tool to use to add the change to the .jar / .xml file?
Xfood Expert Licensed User Longtime User Sep 11, 2021 #7 vecino said: Thanks, friends, I had not seen that the source code is there. What tool to use to add the change to the .jar / .xml file? Click to expand... I don't think I understand, jar is a compiled format, you can't add / remove code without having the source Upvote 0
vecino said: Thanks, friends, I had not seen that the source code is there. What tool to use to add the change to the .jar / .xml file? Click to expand... I don't think I understand, jar is a compiled format, you can't add / remove code without having the source
M MikeSW17 Active Member Licensed User Longtime User Sep 11, 2021 #8 .jar file Content can be viewed with Java Decompiler: https://java-decompiler.github.io/ Last edited: Sep 11, 2021 Upvote 0
vecino Well-Known Member Licensed User Longtime User Sep 11, 2021 #9 My knowledge about java is almost nil. I thought the source code could be compiled somehow to get the .jar. I mean SpotLight comes in a .jar library and you had to re-create it once you edited the source code you posted. Isn't that right? Upvote 0
My knowledge about java is almost nil. I thought the source code could be compiled somehow to get the .jar. I mean SpotLight comes in a .jar library and you had to re-create it once you edited the source code you posted. Isn't that right?
Xfood Expert Licensed User Longtime User Sep 11, 2021 #10 vecino said: My knowledge about java is almost nil. I thought the source code could be compiled somehow to get the .jar. I mean SpotLight comes in a .jar library and you had to re-create it once you edited the source code you posted. Isn't that right? Click to expand... sorry brother, I still don't understand, SpotLight is a class in b4x source format, then just insert it in your b4x project (if necessary adapt it to your needs) and then with your b4A, B4j, B4i compile the project Upvote 0
vecino said: My knowledge about java is almost nil. I thought the source code could be compiled somehow to get the .jar. I mean SpotLight comes in a .jar library and you had to re-create it once you edited the source code you posted. Isn't that right? Click to expand... sorry brother, I still don't understand, SpotLight is a class in b4x source format, then just insert it in your b4x project (if necessary adapt it to your needs) and then with your b4A, B4j, B4i compile the project
DonManfred Expert Licensed User Longtime User Sep 11, 2021 #11 vecino said: I thought the source code could be compiled somehow to get the .jar. Click to expand... The Sourcecode of the Library is available. AS B4XCODE! Why not just take this and edit it? NO NEED to use or patch or decompile any jar. Use the bas-file instead of library and edit it as needed. You can compile it to a library if you want, sure. Upvote 1
vecino said: I thought the source code could be compiled somehow to get the .jar. Click to expand... The Sourcecode of the Library is available. AS B4XCODE! Why not just take this and edit it? NO NEED to use or patch or decompile any jar. Use the bas-file instead of library and edit it as needed. You can compile it to a library if you want, sure.
Xfood Expert Licensed User Longtime User Sep 11, 2021 #12 Xfood said: As promised, here is the modified class with a small usage example B4X: Copy ' descrizione ,material ico, colore, dim, bitmap,font awesome splight.additem("Info Programma",Chr(0xE88F),Colors.Black,18,Null,Chr(0xF05A)) Click to expand... the example I shot is in b4x code source format, I don't understand the problem .... Upvote 1
Xfood said: As promised, here is the modified class with a small usage example B4X: Copy ' descrizione ,material ico, colore, dim, bitmap,font awesome splight.additem("Info Programma",Chr(0xE88F),Colors.Black,18,Null,Chr(0xF05A)) Click to expand... the example I shot is in b4x code source format, I don't understand the problem ....
vecino Well-Known Member Licensed User Longtime User Sep 11, 2021 #13 Thanks, friends, I thought it was necessary to use the .jar library. So can I remove the library and use only the class? Upvote 0
Thanks, friends, I thought it was necessary to use the .jar library. So can I remove the library and use only the class?
Xfood Expert Licensed User Longtime User Sep 11, 2021 #14 you don't need anything else, just look at my example attached to the post #5 Upvote 0
vecino Well-Known Member Licensed User Longtime User Sep 11, 2021 #15 It is already working, thank you!!!!! Upvote 0
vecino Well-Known Member Licensed User Longtime User Sep 11, 2021 #17 I have often wondered what that option is for. What kind of library will it create?, but I have never tried it. Thank you very much!!!!! ? ? ? Upvote 0
I have often wondered what that option is for. What kind of library will it create?, but I have never tried it. Thank you very much!!!!! ? ? ?
ilan Expert Licensed User Longtime User Sep 12, 2021 #18 i think there should be a link in the first post to point what library you are talking about. it would be simpler to help you like this. as @DonManfred already mentioned it is much simpler to use the class and work with it. the code should be simple to understand. Upvote 0
i think there should be a link in the first post to point what library you are talking about. it would be simpler to help you like this. as @DonManfred already mentioned it is much simpler to use the class and work with it. the code should be simple to understand.
vecino Well-Known Member Licensed User Longtime User Sep 12, 2021 #19 Thank you, I have already posted the link. I am testing with the classic form of "activity", does it also work with B4Xpages? Best regards. Upvote 0
Thank you, I have already posted the link. I am testing with the classic form of "activity", does it also work with B4Xpages? Best regards.
ilan Expert Licensed User Longtime User Sep 12, 2021 #20 vecino said: Thank you, I have already posted the link. I am testing with the classic form of "activity", does it also work with B4Xpages? Best regards. Click to expand... sure, should work with b4x Pages too. Last edited: Sep 12, 2021 Upvote 0
vecino said: Thank you, I have already posted the link. I am testing with the classic form of "activity", does it also work with B4Xpages? Best regards. Click to expand... sure, should work with b4x Pages too.