Hello Danny,
We are talking about paragraphs and textboxes for the code... that is, the "p" and the "code" HTML tags... probably we no need an editor for this beyond the Notepad. ;-)
Hello Danny,
We are talking about paragraphs and textboxes for the code... that is, the "p" and the "code" HTML tags... probably we no need an editor for this beyond the Notepad. ;-)
Hello Danny,
Please, remember to use the "code" HTML tag. Certainly, you are right, the Dropdown don't work as expected in your project, but, it's not related with the control itself, but with the app theme that you are using. Apparently that theme ("Cosmo") have some problems with the Dropdown control. Other themes too. I need to investigate this when possible. In the meanwhile... sorry but you cannot use the "Cosmo" nor other affected themes.
Hello Danny,
It's quite rare. Maybe you are changing the Dropdown Items variable at runtime? Remember that variable is an Array, so you cannot set an string to it, for example.
You're welcome, Danny! :-)
Hello Danny,
Sorry, but I can't reproduce the problem here. Please, be sure that you edit the items in the Array editor dialog, be sure there are really two lines. Take a look at the Dropdown app sample too. If the problem persists, please, post here, and, if possible, provide a sample app in which we can see the problem.
Hello Ryan,
I commit a mistake in my previous post. Certainly, Javascript AB functions can return something, and, I mention that AB functions can't do it, but, in fact can do it, using the "Return" action, which is intended to be used when calling the function from Javascript. So in both cases AB and Javascript functions we can do something like this using Javascript:
Note how we call to the app function, see this help topic for more information. Take a look also at the "External" and "External2" app samples.
Hello Ryan,
AB functions (with AB code) can't provide a "return", so, if we need that an AB function do something and be ready for a result, that function must place the result in an app variable, that we can use after call to the AB function.
AB functions (with Javascript) can provide a "return" value, but, this is intented to be use if we call to the AB function from Javascript. In other case, if we call the function from AB code, we need to use an app variable like above.
Both AB functions (with AB code and with Javascript code) support arguments, of course, and we can pass AB variables to it. Remember that there is a way to access AB stuff (including variables) from Javascript code: read help topic.
Please, Ryan, go ahead if you need any further help.
Hello Danny,
I think to know what you wanted, so I will try to help you. The "FixedContainer" is intented to shown how we can place content beyond the app view height. That content is perfectly "scrollable" at runtime. But this sample can't do for you what you wanted. Please, let me to explain.
First of all, maybe you no need any container at all: containers are good to group other controls, in order to set a specific background for the container, so the container controls stay inside that background color, somethings like that.
But you can place the header Image control that you wanted without any Container control, and, also without a Container, below the Image you can place your HTML control. So what is the trick? The trick is the CSS "overflow-y" of the HTML Control.
Setting the "overflow-y" CSS to "auto", for example, the contents of the HTML control stay in the control, and, never go beyond the control (and never hide or mess with the Push button), because the appropriate scrollbar appear to allows to show the content of the HTML control.
So in principle you only need three controls: the Image, the HTML content and the Push button. The image can be may also put inside the HTML content control (using an IMG HTML tag), so you can have only the HTML content and the Push button controls.
Take a look at the below app (copy the XML and save it in a file like "MyApp.ab". Open this with AB and run the app.
Hello Peter,
The way to know what Javascript produces certain action, is to take a look at the "app.js" file: we can do it from the program's menu too.
Hello
You must unblock the app in the "then" function, maybe at the beginning or just before "$scope.$apply()". On the other hand, you are trying to use "window.App.RootScope.UnblockApp", but, if I am not wrong, what you wanted is the Javascript code of the AB function... in this case is "blockUI.stop();" (without the quotes).
P.S. Please, Peter, consider to open another thread, maybe a "volume II" if you wanted.
No problem, Peter, I perfectly understand it! :-)
Hola Jordi,
Habría que ver eso de que la app "se estrella"... por lo demás, si es lo que estoy pensando, tal vez no pueda hacerse, Jordi, es decir, iniciar la cámara sin la intervención del usuario... probablemente no es posible... pero debe estar documentado esto en la página del plugin... o acaso se pueda preguntar en el soporte del plugin (suele ser en GitHub) y/o intentar buscar esa información entre los posibles usuarios del plugin (buscar en Google, vaya).
Pero ya digo, me extrañaría mucho que pudieras iniciar la grabación sin la intervención del usuario... acaso dando algún permiso especial o algo así... pero no tengo idea, Jordi, lo siento. :-(
Hello Danny,
Of course, you can send any feedback to me, using my E-Mail address too.
Hello Danny,
No problem! In fact and as I mention before, this probably must be better referred in the help.
Hello Peter,
If I am not wrong (and am I thinking in the same quotes), the quotes are placed in your code because is required, that is, "Title 1" is a string value, therefore must be placed inside single or double quotes in Javascript.
However, talking about variables, we no need the quotes, in fact, if we use the quotes, what is used is the name of the variable, to say like that, so the below code must work:
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 some useful cookies to store your preferences.