Posts by DecSoft

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

DecSoft (In thread: Saving canvas to image (Android / iOS))

Hello Asley,

Many thank David It works like a charm :)

You're welcome! :)


DecSoft (In thread: forEach method in Internet Explorer 11)

Hello Bryce,

Apparently some kind of errors (like the below) are not supressed by the "Hide user errors" options. The point is that that code must be in your app, maybe in a thirdparty library... and the problem is that IE 11 do not support the "forEach" method.

Here is a polyfill that may can do the job, so, you must try to add the below Javascript code in your app, in order to add the "forEarch" method:

Or...

I hope the above can be useful for you, Bryce.


DecSoft (In thread: Saving canvas to image (Android / iOS))

Hello Asley,

Please, upgrade your AB copy. There are two new samples: Signature and Signature2. The second one show how we can save the Base64 representation of the signature canvas into a JPG file in the device.

Look here for more information and details.

I hope this can be useful for you and others too!


DecSoft (In thread: New App Builder release 2019.21 (03/21/2019))

Hello to all,

Here is a new DecSoft App Builder release, with the below changes, fixes and enhancements:

Read the entire product's history


DecSoft (In thread: Execute after certain CSS animation)

Hello Ava,

Your're welcome. Commonly (at least in my experience) when we try to stop the code execution to do something... probably we can take another approach... since stop the code execution is not always possible. On the other hand, certainly the above code works as expected, that is, certain "complete" callback is executed after (and never before) certain animation is done.


DecSoft (In thread: Use the InAppBrowser Cordova's plugin)

Hello Harald,

Yes; in AB the "InAppBrowser" Cordova plugin is referred just as the "Browser" Cordova plugin, so, to include it in our apps we only need to check the "Browser" checkbox in the Cordova options tab in the app's dialog.

Please, take a look also at the OpenWindow. Post here if you have any further questions about this, Harald.


DecSoft (In thread: Execute after certain CSS animation)

Hello Ava,

I am not sure if understand 100%, but, certainly the animations CSS classes provided "out of the box" don't allows something like you wanted. On the other hand, actions like "BlockApp" block the user interface, but not the next code execution. Maybe you can use jQuery animations, which provide the right way to know when a more or less complex animation finish.

For example, place a "Button1" control in an app view and place the below code in the Show event of that view:

I hope this can be useful for you. Please, go ahead if you have any further questions.


DecSoft (In thread: Issue with the App.Online global variable)

Hello Peter,

Works like a charm now. Many thanks, Pete

You're welcome! :-)


DecSoft (In thread: Issue with the App.Online global variable)

Hello Peter,

Please, upgrade your AB copy, there is a new release with the below changes:

The above changes mean that probably you also need to change the HTML code for the "online/offline" indicator, that now can be look like below:

Note how we surround both "true" and "false" with single quotes, since "App.Online" is now a "true" or "false" string, not a boolean value like before. This changes also means that your desired condition can now be used as you expected:


DecSoft (In thread: New App Builder release 2019.20 (03/19/2019))

Hello to all,

Here is a new DecSoft App Builder release, with the below changes, fixes and enhancements:

Read the entire product's history


DecSoft (In thread: Issue with the App.Online global variable)

Hello Peter,

Please, sorry for the possible inconveniences. You are right, there is some possible enhancement in AB and I am working on it right now. Please, wait for a new post here when a new release are available. I also explain what happen in the next post.


DecSoft (In thread: Execute after certain CSS animation)

Hello Ava,

The "BlockApp" disable the app's interface (so the user cannot interact) but do not block the next code to be executed. You mention that "call some CSS class"... please, can you explain this a bit more, Ava? How you are "call some CSS class"?


DecSoft (In thread: Detect and show the Online / Offline state)

Hello to all,

You are right, Peter. Please, use the same HTML code than above, but, place this action in both Online and Offline app's events:


DecSoft (In thread: Detect and show the Online / Offline state)

Hello to all,

If you place the above HTML code inside an HTML control, you must see "Online" or "Offline", Peter, without doing anything else.


DecSoft (In thread: Detect and show the Online / Offline state)

Hello Peter,

Maybe I am wrong, but, even when a Timer can be a solution... why not to use the solution proposed in my last post, that do not require a Timer at all? (I am curious... :)

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