Posts by DecSoft

Show threads by DecSoft
3403 posts found, page 116 of 227

DecSoft (In thread: Programatically scroll to top a Report or HTML control)

Hello Amin,

You're welcome! :-)


DecSoft (In thread: Programatically scroll to top a Report or HTML control)

Hello Amin,

We can use something like this:

Note that we use jQuery because this library is included by default in our apps by DecSoft App Builder.

Please, try it and tell if works as expected.


DecSoft (In thread: Combining a phonegap/cordova app with AB app)

Hello Amin,

I am not sure if can understand perfectyl well the concept of "close an iframe"... certainly we can go (using actions like ShowView or ReplaceView) to other app's views from other ones. But for something like "close an iframe", the only thing that I can think (right now) is to set the Iframe URL to an empty one.

However, something like this appear not working:

Instead of that, you can try with something like this:

Or maybe you can prepare an HTML file (from the app's files manager) in your app in order to be used for the above, that is, to "empty" the Iframe... which is the more close to "close an Iframe" that I can figure out right now, Amin.


DecSoft (In thread: IP Address From Javascript to AB Variable)

Hello to all,

Please, Tin,, use new threads for new questions. If I am not wrong, certainly, we can use the script in the way that you wanted, and, also by call to the URL using an HTTP client control (probably better). However, in both cases we have the same problem: the server disallow the call from the app due to the CORS permissions, and we need that permissions in order to work on it.

A possible solution can be to prepare a script in your own app's server and use that script from your app: by an HTTP client control, just as you already know. The only thing you must to do is an HTTP call from your server's script to the URL of the service, so you can get the IP and then send back to the app.

Another possible solution (depend on your target platforms) can be to use the plugin that is mentioned in this thread by Adrian, so you can get the IP using this way instead the service's URL that you are trying to use now.


DecSoft (In thread: How to record audio from the device's microphone)

Hello to all,

I completely forget this thread! From sometime ago DecSoft App Builder incorporates the "Recorder" control, which allows to record audio and video from our apps. Just take a look at the "Recorder" app sample included by DecSoft App Builder.


DecSoft (In thread: Use or not se the new Javascript "Arrow" functions)

Hello Paolo,

Probably you refer to certain feature or a Javascript version which is not widely extended and therefore don't work in Internet Explorer 11. There is no possible to use another internal debugger in AB right now. My recomendation is that you run the app in Chrome (or your prefered browser) and do not use features that may are not available in all browsers. Remember that the "arrow functions" are just another way to define functions in Javascript, so we can always use the common way, to say like that, instead of the "arrow functions".


DecSoft (In thread: HTML Compiler: File Filters)

Hello Bryce,

Upgrade your DecSoft HTML Compiler copy. You can see now in the help file and in the Dialogs sample how we can use an optional "FileTypes" argument in both "appFileOpenDialog()" and "appFilesaveDialog()". This optional "FileTypes" argument allows to specify one or more file types, which are composed by their own display name and file mask.

Additionally the "appFileSaveDialog()" have also another new "DefaultExt" optional argument. This argument allows to specify a file extension to be used by default in the dialog. When the user save a file without file extension, the default extension is used. Please, take a look at the documentation and the Dialogs sample for more information and details.


DecSoft (In thread: Show App Builder releases' news online)

Hello Paolo,

Ok. I can understand. Let me to think on it. Maybe we can achieve that using forum posts in the AB category, so we can see also the news from the AB welcome page. Thanks for the suggestion, Paolo, probably we start to use the forum to show the latest AB changes.


DecSoft (In thread: Show App Builder releases' news online)

Hello Paolo,

No matter if this is what you wanted or not (you can post here if not!) the current App Builder release installer do not uninstall a possible previous release before the new release changes has been shown to us. So we can now decide if install the new release, or not, after we read the new release changes. Can this help you, Paolo?


DecSoft (In thread: Show App Builder releases' news online)

Hello Paolo,

Exactly why you wanted something like that? That is, maybe you wanted to see the changes of the new release before the installer uninstall the previous one? If so, probably I can change the installer in order to show the changes before uninstall the previous one. What do you think about, Paolo?


DecSoft (In thread: IP Address From Javascript to AB Variable)

Your're welcome! :-)


DecSoft (In thread: IP Address From Javascript to AB Variable)

Hello Adrian,

Yes; please, read this tutorial from the AB help. Go ahead if you have any further question then.


DecSoft (In thread: Report alternating foreground color)

Hello Paolo,

Glad to know that works for you. :-)


DecSoft (In thread: Report alternating foreground color)

Hello Paolo,

The below is just a possible way to do, since, certainly we can, for example, specify a background color for every record container or element.

Anyway, I shown you here an easy way to achieve something like you wanted, that is, like if we use the above solution: that is, the solution that I propose you that works in case that our Report control have a "table" Wrapper and not a "grid" one.

Here is what you must to do, Paolo:

  1. Open the Report app sample of AB.
  2. Change the Report Wrapper variable to "grid".
  3. Open the Report HTML variable editor and replace the existing HTML by this one:

Then...

  1. Press "Accept" in the Report's HTML variable editor to save the changes.
  2. Now open the "Inline CSS" option of the app and write the below CSS code:

Save the app and run it. If everything is ok, you can see the Report shown the records in different backgrounds, depending if the Report's row/record is even or odd.

Please, go ahead if you have any further question.


DecSoft (In thread: Report alternating foreground color)

Hello Paolo,

Suposing that your report's Wrapper is "table", you can try to set this CSS class: table-striped, in the Report Classes variable.

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.

Ok! Hide this note More information