Posts by DecSoft

Show threads by DecSoft
3352 posts found, page 36 of 224

DecSoft (In thread: Browser plugins and Ajax requests)

Hello John,

If we are talking about our own Ajax calls (for example, using jQuery), then yes... may we can do something about... however, if we are talking of the Ajax calls made by the content page... I think there is not a way to know that, John, at least in my knowledge. If you refer here what you are trying to do, maybe we can find a possible workaround, for example, maybe can be stupid, but, these days a page can't take too much time in order to be loaded, so, if we wait a few seconds (five, more?) may we can **asume** that all the things are already loaded...


DecSoft (In thread: http control done and fail handler functions)

Hello Mario,

Please, no problem nor inconvenience at all! I am happy to help when possible. So don't hesitate to post here everytime you think I (or may other of our mates) can do something for you. Have a nice weekend too (yes... if possible...)!


DecSoft (In thread: http control done and fail handler functions)

Hello Mario,

A bit more about the possible flag variable to be used. Before you made the HTTP call, you can set a flag variable in order to know if the work has been done or not. This variable can be set to "false", for example. In the HTTP control Done event, you can set that flag variable to "true". If no error occur and the user back to the main view, that flag variable is "true". If some error occur, since the Done code is not executed (after the error), then the flag variable is still "false", and you can know if in the main view.

It's just an idea, of course: I am not sure if that can be exactly what you wanted, but, I hope you got the idea. This kind of flag variable can maybe also combined with the app's ViewChange event: if the flag variable is "true", you allow the user to back to the main view from the another one: if the variable is "false", you cancel the navigation to the main view, or do something before if needed.


DecSoft (In thread: Input File pick image and or capture image)

Hello Mario,

Thank you David!

I endet up with your fourth solution with two buttons one for select and one for capture.

Because and Android and iOS app only.

Thank you!

Always thank you for your trust!


DecSoft (In thread: http control done and fail handler functions)

Hello Mario,

I am near to understand your point, however, I am not completely sure. Please, let me to explain. Certainly, the situation is like you describe, and, an error occur, however, it's not a fatal error, that is, once the user back to the main view, everything in that view continue working as expected, even the ability to go again to the another view.

So what's the point to check if "self" is defined or not? I mean, if the error occur, your code after the error is not executed, but, nothing else... I supose that you do something if the error did not occur, but, if the error occur, because the user go back to the main view, then you do nothing (because your code is not executed) and then nothing happens...

If you need from the main view that something is well executed in the another view, then you can use a flag variable, so, if the done event of the Http control is well executed, your flag variable is "true", for example, and, if the error occur, that flag variable can be "false" (you can set to "false" when enter the view), so, you can check that flag variable in the main view, so you know if the work is done or not.

Another possible idea is to use the app's ChangeView event, which allows to look what is the next view and the prev view: we can event prevent the user to change to a view from another, for example, until some code has been executed. So please, let me know if all of these can help you and just post here if you want to explain me a bit more about or what to place any questions.


DecSoft (In thread: Rollover images)

Hello John,

We can use the MouseEnter and MouseLeave events of the Image control.

Supose we set an "a.png" to the Image's Url property, then, in the MouseEnter event, we can write something like this:

... so we are changing the Image's Url to "b.png", and, in the MouseLeave event we can back to the original image:


DecSoft (In thread: Issues with adding images to frames)

Hello John,

Yes; must be some issue related with the cache and the Frame controls. I am sorry. I wil take a look when possible and try to see what can happen. Certainly the cache can have some issues like this: I'll try to do my best, but, certainly some issues can appear related with the cache and in particular with the Frame controls. I will take a look when possible!


DecSoft (In thread: Master View in the new AB)

Thank you for your kindly words, John!


DecSoft (In thread: New App Builder 2021.19)

Hello to all,

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

Read the entire product's history


DecSoft (In thread: New App Builder 2021.18)

Hello to all,

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

Read the entire product's history


DecSoft (In thread: Master View in the new AB)

Hello John,

Yes; certainly in the previous generation of AB we have the Master View. Instead of that, in the new generation of AB we have the Frame controls (not IFrame controls), which allows to do the same (share stuff between app's views) but in a more powerful way, since we can have several Frame controls inside an app's view, for example. You can take a look at the Frame sample app.


DecSoft (In thread: WebExtension context menu)

Hello John,

You're welcome, sir! :-)


DecSoft (In thread: WebExtension context menu)

Hello John,

We can attach a "contextmenu" event handler to the document body, for example. It's our duty also to add the right HTML code in the document body to conform the menu. Since this can require some CSS rules, and, even when we can add these to the document body from Javascript, I decide to add in DecSoft App Builder the ability to add styles to our WebExtensions contents, in the same way than we already can add Javascript to it.

There is a new release of the product available: please, take a look at it, in particular to the new "WebExtension5" sample app.


DecSoft (In thread: New App Builder 2021.17)

Hello to all,

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

Read the entire product's history


DecSoft (In thread: WebExtension context menu)

Hello John,

By content page you mean the page of the browser's active tab or you mean one of your app's views?

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