Posts by DecSoft

Show threads by DecSoft
3398 posts found, page 48 of 227

DecSoft (In thread: AB2 actions as in AB1)

Hello to all,

Since we are talking about a thirdparty tool, I have no problem at all: anybody can use it if wanted. But I must defend the new generation of DecSoft App Builder, of course. You know that AB apps are based in HTML, CSS and JavaScript. JavaScript is the programming language, and, in fact, the visual actions that the previous generation of AB offers, must be translated at the end to JavaScript.

The actions are limited, but JavaScript is not limited at all. If we learn actions, we are not really learning about JavaScript, so, we never can get the benefits of the JavaScript usage. In the new generation of AB everything is JavaScript, and I think this provide too many advantages, the already referred, but, also the infinite sources of knowledge, lot of code pieces that we can use "as is", and many more.

The previous generation of AB and the current one just have different point of views: the first one is intended to beginner users, but the current generation of the product want to offer also a power tool for people who already know the JavaScript language. And my intention is to kick up the beginner users to the JavaScript language: finally if you learn JavaScript, you can use it in many projects, not only AB apps.

So if I can help in something with this tools, count with me, but, I bet for the new generation of AB. Someone can think that the new AB remove the visual actions support, but, other point of view can be that the new AB is faster, more user friendly, and incorporate lot of things missed in the previous generation of AB, like the app's resources, the ability to translate the app directly from the IDE and many more features.


DecSoft (In thread: New App Builder 2020.86)

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 2020.85)

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: Borrar elementos de MultiSelect)

Hola Jordi,

Pensando en cómo hacerlo en el nuevo AB, podría también usarse el método "filter" de los Arrays, de tal modo que quedaría tal que así:

Si te fijas, inicializamos el Array con los elementos seleccionados, y, esto es algo que acaso convendría hacerse también en el anterior código para el anterior AB, quedando entonces del siguiente modo:

Por cierto que, también en el anterior AB, podriámos usar JavaScript y el método "filter" de los Arrays, tal que así:

Como ves, en este último caso no usamos las funciones "flecha" de JavaScript, pues, el navegador / depurador del anterior AB se basa en Internet Explorer 11, y, este no soporta este tipo de funciones de JavaScript.

El el navegador / depurador del nuevo AB se basa en Google Chromium, y, este ya soporta las funciones "flecha" de JavaScript, de manera que es posible correr la app en dicho navegador / depurador, así como en el resto de navegadores.


DecSoft (In thread: Borrar elementos de MultiSelect)

Hola Jordi,

En efecto, el control MultiSelect no tiene propiedad "ItemIndex", sino que podemos usar su propiedad "SelItems", que, guarda los elementos que están seleccionados en forma de Array. De este modo, es posible recorrer dicho Array para ir averiguando el "index" de cada elemento, para borrarlo a continuación:


DecSoft (In thread: Version Control)

Hello to all,

Just for your information, the current DecSoft App Builder generation add the ability to maintain app backups in a similar way than the previous generation of the product already do. Take a look here for more information and anyway upgrade your AB copies.


DecSoft (In thread: New App Builder 2020.84)

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 2020.83)

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 2020.82)

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 2020.81)

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: Finding data in JSON file)

No problem, Asley! Don't hesitate to post here or in other thread if you have any further questions.


DecSoft (In thread: Finding data in JSON file)

Hola Asley,

Nope. If we have problems with the array deletion... we must prepare a different array, that is, modify the code to something like the below:

That is, what we do above is to prepare a new Array variable ("output") with all the "source" array items, except the items with "ID=2". So you can use then the "output" Array instead of the "source" one.


DecSoft (In thread: Finding data in JSON file)

Hello Asley,

Yes; it's possible to filter / delete records from the JSON source, for example:

Note, however, that we modify the original JSON source variable, so, we cannot get the deleted record back. But please, go ahead if you have any further question!


DecSoft (In thread: Finding data in JSON file)

Hola Asley,

Maybe some further details can be needed. Supose we want to made a "filter" in the client side, and, the next code is placed inside the "Done" event of an "HttpClient" control, which serve the JSON to us, that is, the "HttpClient" response is the JSON that you shown as a sample.

As you can see, what we do is to initialize the "data" property of a "Table" control. Then we iterate over the "HttpClient" response, in other words, we iterate the JSON registries. As you can see, it's easy to find if the "libro" property of the iterated record / registry is one of the books that we want to show in the "Table" control, and, if so, we add that record / registry to the "date" property of the "Table" control, in order to be shown.

Note that, if the database is in the server side, the same operation can be done in the server side, that is, we ask to the server for some "books name" records, using the appropriate URL, for example: "https://www.appserver.com/items?books=1,2,3" (supose this 1, 2, 3, are the IDs of the required "books" in the database) so the server can prepare the right JSON output, so we no need to perform the filter in the client side, even when, as you can see, it's also possible.

Don't hesitate to ask if you have any further question around this, Asley.


DecSoft (In thread: Feature request : fixing the layout)

Hello to all,

You're welcome, Samuel! Jordi, we are talking about the current generation of DecSoft App Builder: the previous generation do not have something like that, and, probably can't do it: we try with themes in the past and finally remove it due to their problematic behaviour. The new DecSoft App Builder has been rewriten from the scratch (using a new version of Delphi) and allows us to have something like that "dark theme" available.

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