Glad to know that you got it. The template syntax can be really useful, because we can deal with virtually any kind of variable type, so we not only show "simple" strings, but also HTML, arrays, objects, etc. We can also show or not certain stuff, etc. It's quite useful. You can take a look at the HTML sample app and play a bit with it.
About the app resources, they are not exactly the same thing than the app global / reactive variables. The resources can be easily translated to another languages, for example, by using the app languages manager.
About the Text search, yes, I know is a must in the IDE and I want to implement it as quickly as possible, which mean that I can't place a date here, because I am really busy with other lot of tasks! (Developing with both AB and AB2, in addition to other things!), but it's a must and therefore must be incorporated in the IDE sooner or later.
In principle, you are right, that is, it's the way to show a string variable (or his string represetation) inside an HTML template, like inside the HTML control. You can easily see it by copy this code ("as is", you can copy the below code into App Builder, so a new HTML controls is created with that text inside, ready to be tested):
So, if the "app.store.AppHeaderTitle" variable exists... then can be show in that way if you wanted. If the app contains some HTML you can try this other way instead:
In fact, I just try your suggested code, that is, I place the below code in an app view Show event:
And then, in the same app view (can be another too, but you already know it), I use an HTML control with the below code inside:
... and I get the expected result, that is the text "Home Screen" inside the HTML code. So, please, Peter, remove the "_cache" directory (perhaps is causing some problem?), even the "compiled" directory (paranoic mode), and try again, since your code look as the expected one.
Unfortunately, the layouts cannot be configured in the new DecSoft App Builder. We want to do something about it in the future, so, it's something expected to be available, when other tasks give us some free time. :-)
If the above didn't reply your question, please, let me know, Samuel.
In fact it's more or less easy. Once you check the "iOS" platform in the app options, when you compile the app, you get various "SHELL" files. What you must to do is to copy the app "compiled" directory into a Mac OS. Once you get the files in the Mac OS, you can run one of the "SHELL" files, for example, the "debug" one. Once that "SHELL" file is executed, Apache Cordova has been generate a "project" ready to be opened by the XCode IDE.
And that's all. You can open the project with XCode and start to debug the app, launch it in an attached device, archive it, etc.
P.S. Note that we don't get a "success" message after execute the "SHELL" file in a Mac OS, in the same way that we get a "success" message when execute a "BAT" file for the Android platform in a Windows PC. Don't worry about that. Once the "SHELL" file ends, just close the console and goto XCode to open the generated project.
Please, try to don't mix various questions in the same thread: you already open a thread here about your question related with JSON and PHP: in fact, I propose something in that thread, I did not get a reply yet. So, if you can, please, continue in the linked thread.
We will be happy to help, and I say we, because, any DecSoft customer has the ability to participate in the forum: some of them already does, some others just no need it, some others... etc. So I will try to help you and of course any other who can participate can try to do it too.
If I understand well, what can happen is that the contents of the HTML control exceeds the control height, so, it's placed out of the control, causing that other controls below the HTML control don't appear as expected. If this is what happen, the solution is to use an "overflow-y" CSS rule (set it to "auto") for the HTML control, so their contents are shown using a scroll if needed, but, never exceeds the control height.
Take a look at the below sample app, copy the code and save it into a "MyApp.ab" file, for example:
Here is a new DecSoft App Builder release, with the below changes, fixes and enhancements:
Note that this new release of DecSoft App Builder refers to the previous generation of DecSoft App Builder, which is still available, only for our customers, in their DecSoft customer area, under the "Releases" tab.
Everybody can read the DecSoft support forum for learning purposes, however only DecSoft customers can post new threads. Purchase one or more licenses of some DecSoft products in order to give this and other benefits.
This website uses cookies only to store your preferences.