Hello,
Thanks!!
You're welcome!
Hello,
Thanks!!
You're welcome!
Hello,
Probably the better can be to allow us to choose: use the same name or not to use it. :)
I made the appropiate changes in order to allow us to write code like this without problems:
Changes also affects to some other actions in the same way than the "ObjectGetProp" action.
Hello,
Hello,
I understand the problem, you must delete the "Compiled" directory.
regards
In certain situations we must delete the "Compiled" directory manually, but not in the normal program's behaviour. Only if we need we must delete the directory, but, in some situations this are not recomendable. For example, a new Apache Cordova's build can take a minute and a half here in my computer, but a build after the first one take only ten seconds. For this and other reasons the "Compiled" directory must be not deleted when no needed.
Hello,
It better to be not the same name ,David.
(I don't know that can set not the same,that why I coding like that. lol
Probably the better can be to allow us to choose: use the same name or not to use it. :)
Hello,
Hello,
I can not put the image within the forum (post), kindly you tell me how I can do?
I am using a service like imgur.com. Upload your image and then use the "direct link" URL to post it here.
Hello tin,
Thanks for your considerations. The JSON2 sample has been fixed and AB is now updated. Certainly I need to study this kind of situation, because maybe I can take another approach, which allow us to name variables like object properties, etc.
Hello,
First of all, sorry for the inconveniences. And thanks for your feedback and research tin. Yesterday I fix a bug in the "ObjectGetProp" action, and, now they works as expected, however, we can't write something like this code now:
This simple "confuse" the App Builder code translator. What we must to do is something like the below one:
That is, the property name must be different to the result variable. So remember the below code doesn't work:
But this other works like expected:
I want to study this deeply, but this behaviour is not only related with this specific action, then, take note tin.
Hello,
I try it.It work for me too!!.Thanks David.
You're welcome!
Hello,
Trying in app's views I think the "background-size" is working properly here in my browsers and my mobile device. Trying to put it to be used in the "body", that is, applied to the entire application, for some reason the "100% 100%" is not working, probably due to the app's views CSS rules (width and height).
Try with this instead, that works for me:
* vw mean "viewport width" and vh mean "viewport height".
Hello,
Sorry but I am not sure if can understand what you mean. Certainly, except some "rare" behaviour with the designer (I mentioned above) not too important at all, I can't get any undesired behaviour in the program run and debug commands. Maybe you can explain me a little more using some images, a video or something like this. Or try to explain me a way (step by step) to reproduce the problem.
Hello,
Honestly yesterday it's the first time I view the "background-cover" rule. In my own projects I never need it before. I use the "repeat", the "position", and some other background related rules, but never the "cover", so I am not sure if can help too much here tin.
What if you use something like this?
You're welcome! :)
Hello,
Yes; the above can work. Anyway I update App Builder and now we can use "App Builder properties" to set the "background-size". You can use wathever you wanted now tin.
Hello,
Certainly "background-size" is not supported right now from the object inspector. Will be supported in the next AB release. In the meanwhile, you can use the app Inline CSS option or a CSS file in order to prepare a code like this:
As you can see, you can also set the image in that CSS code.
On the other hand, if you wanted the same background for all views, maybe you can use the object inspector (once select the application, that is, clicking outside the app's view in the designer) or use a CSS code like the above one but applied to the body tag, for example:
P.S. Ok. Probably this last one have not too much sense if we use ".appView", another way to set the background or apply CSS code to all the app's views.
Hello,
I forget something. F9 perform the debug action, which currently save the application if they are modified. However, CTRL+F9 (Run) is intended to run the previously compiled application, then, if a previous compilation exist, CTRL+F9 run that compilation. CTRL+F9 is useful, but, if you want to view all the possible changes, then you must use F9 (Debug) instead. This is not related with my previous message, and probably solve your issue...
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.