'Loads the remote media into the given panel and sets the background color.
$MediaManager$.SetMediaWithExtra($Panel$, "https://www.b4x.com/images/Logo_on-dark.png", "", _
CreateMap($MediaManager$.REQUEST_BACKGROUND: xui.Color_Black))
So will I be able to have a single library with all my snippets? And, if so, how should/could I group them, for example by genre (graphics, strings, web, ...), to select one in the best, most direct way?Creating a bank of code snippets is a matter of:
1. Putting all snippets (text files) in a folder named Snippets.
2. Zipping the folder and renaming it to CodeSnippets.b4xlib (or any other name).
Agree. I am also lost to understand it and its uses in new way.I really hope I'm not the only one who doesn't understand how it works ?
So will I be able to have a single library with all my snippets? And, if so, how should/could I group them, for example by genre (graphics, strings, web, ...), to select one in the best, most direct way?
All will become clear when we get our hands on itI really hope I'm not the only one who doesn't understand how it works
This is, in my opinion, a superfluous library.I really hope I'm not the only one who doesn't understand how it works ?
Not to me, the process looks much slicker than copying and pasting from a code modulea superfluous library
But with a code module debugging is much better.Not to me, the process looks much slicker than copying and pasting from a code module
I"m not sure I understand your point. It's not calling a method from the snippet library.But with a code module debugging is much better.
These are code snippets, not complete methods. Think of it as keyboard shortcuts that expand to more complete code. Or macros/macro expansion. I've seen this requested before...This is always possible with a code module.
Just put all code-snipped in the module. I use it in every new app as a general module.
Then I have misunderstood why this library should be necessary.I"m not sure I understand your point. It's not calling a method from the snippet library.
Ahh.. so it is like snippets managers made available by members, but instead of using another B4J jar or exe, we get it inside the ide itself. So no copy+paste or drag+paste required. Okay.You can store lines of code that you use regularly, or can't remember completely and copy it into your code with a few keystrokes. It could be a java class name, or 1 or more lines or a full sub. Whatever you like.
I really hope I'm not the only one who doesn't understand how it works ?
So will I be able to have a single library with all my snippets? And, if so, how should/could I group them, for example by genre (graphics, strings, web, ...), to select one in the best, most direct way?
Re-read post#2. you can put as many snippets as you like in one library (file), and have as many (files) libraries as you like, with different names.We cannot.
Re-read post#2. you can put as many snippets as you like in one library (file), and have as many (files) libraries as you like, with different names.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?