Posts by DecSoft

Show threads by DecSoft
3341 posts found, page 68 of 223

DecSoft (In thread: Using certain Cordova SQLite plugin)

Hello Ryan,

If you use the app files manager and the Others tab, then choose the "pts.db3" file from your computer, when the app is compiled, that file is copied into the "app/files/" directory, so their path is "app/files/pts.db3". Be sure that you use the files manager and be sure that you can find that file in "app/files/".


DecSoft (In thread: Using certain Cordova SQLite plugin)

Hello Ryan,

I can't answer at this moment... you must refer to the plugin's documentation: maybe the "name" must be the database's file path, maybe just the database file name, and then use the "location" to place the database's directory... I can't help you right now on this, but you must take a look at the documentation, since there is not the same to set one thing or another...


DecSoft (In thread: Using certain Cordova SQLite plugin)

Hello Ryan,

The problem is probably the database or the name or the location. I did not try this plugin, but, asume that the database name must refer to some existing database file. If so, probably we can't simply use a database name like "pts.db3", but something like "app/files/pts.db3", suposing we include the "pts.db3" file using the app files manager and from the Others (files) tab.

About the device ready, probably the code no need to be wrapper inside that event handler: for example, if you execute the code in certain Push button Click event, once the app has started (of course), maybe in other app view than the main one, then the device ready event has been already fired, and therefore we can use the code "as is" without problems. But if the code is placed in the main app view Show event... then is possible that that code are executed before the device ready event is fired.


DecSoft (In thread: Using certain Cordova SQLite plugin)

Hello Ryan,

Since, if I am not wrong, we depend on an Apache Cordova plugin... are you sure that the above code is executed after the app Ready event? I can't see anything except that maybe the "args" variable must be preceded with the "var" reserved word... :-(


DecSoft (In thread: MessageBox button index)

Hello Ryan,

Yes; you can take a look at the MessageBox sample and the MessageBox action. Basically the "callback" that we can optionally set receive one argument, which is the button index pressed by the user.


DecSoft (In thread: HTML Compiler: Need to click 2 times on exe file to get it started)

Hello Jan,

It's possible to provide me the HTML app to try it here? Or maybe the compiled executable? You can send it to me using my E-Mail address (I supose you know it, if not, please, tell me and I will inform to you). I can't reproduce the problem here using Windows 10 64 bits too. Are you try with the samples? The problem is reproducible? Or only occur in some specific executable?


DecSoft (In thread: HTML Compiler: No support in compiler for Javascript ECMAScript 2015 (ES6) version?)

Hello Jan,

I think it's an issue of Internet Explorer 11. HTML Compiler is based in Internet Explorer 11, so, we can't write code that are not supported by this browser.


DecSoft (In thread: HTML Compiler: overview what is possible and what is not?)

Hello Jan,

Maybe because the code that you are trying can't work in Internet Explorer 11, in which DecSoft HTML compiler is based? I bet for that... there are some specific limitations (mainly in the video and audio tags) in the program, but, not related with the possible Javascript that we use: except that that Javascript must work in Internet Explorer 11.

The new generation of DecSoft HTML Compiler is now based in the Edge Runtime WebView, which offers to us lot of more capabilities avoiding the limitations that the previous generation of the product (based in Internet Explorer) impose to us. Try the new generation of DecSoft HTML Compiler!

DecSoft (In thread: Loading an array from javascript results variable containing SQLite query)

Hello Ryan,

Talking about Javascript, you can directly assign the new array variable into the other without problems.


DecSoft (In thread: Loading an array from javascript results variable containing SQLite query)

Hello Ryan,

If I am understand well, what you asked is if the NewArray action is required. If so, in principle, it's not required, that is, you can create the Array variable just by assigning the "result" variable into "window.App.RootScope.dailyCrews", just like you do now.

However, certainly in some situations we need to declare a variable before can use it, for example, inside app functions. So maybe it's not a bad idea to use the "NewArray" action in the app Ready event, or the app view Show event.


DecSoft (In thread: Buttons or links inside Report's rows)

Hello Peter,

We cross our messages. :-) Yes; you found another possible way to do it, so finally we show here three possible ways. :-)


DecSoft (In thread: Buttons or links inside Report's rows)

Hello Peter,

Yes; of course, it's possible. Take a look at the below sample that uses a bit of Javascript code to handle our "row button" click event:

Another possible way is to use a "class" in our "row-button", and use the "RowClick" event of the Report control:


DecSoft (In thread: WebExtensions and DecSoft App Builder)

Hello John,

Thanks for your kindly words: I really hope (and I bet it too!) that you will enjoy in which I am working on... :-) About the issue... certainly it's an issue... but must be studied, because, I can assert that jQuery can work perfectly inside a WebExtensions before, so, the question is why, apparently, now it's causing the issue... maybe a jQuery change, maybe a browsers vendors change (because I try this in various browsers, before and now)... this must be studied when possible, at least to know what happen...

P.S. Please, John, use some HTML tags in your posts, for example, "p" tag (for paragrahps), "code" tag (for code, console outputs, etc.).


DecSoft (In thread: WebExtensions and DecSoft App Builder)

Hello John,

I must recognize that don't take a look into this issue... because I am very, very busy here (and I hope that you can see in what I am busy in a few months...), but, apparently, the point is to avoid the jQuery usage. That is the point: we can change the background color, but, not using jQuery. Why? I really don't know... and it's interesting to know why don't work, of course... even more, because that sample works with jQuery in the past... :-(


DecSoft (In thread: javascript inside of a custom AB function using parameters)

You're welcome, Ryan! :-)

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.

I agree. Hide this note. Give me more information.