Posts by DecSoft

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

DecSoft (In thread: Poner 2 imagenes seguidas en un Report)

Hola Jordi,

Pero... en la propiedad "Html" de los controles "Report" tenemos acceso a cada uno de los registros del JSON, pero, uno a uno, por decirlo así: no sería posible acceder a otro registro desde ahí... salvo acaso sabiendo el índice de dicho registro y accediendo mediante la propiedad "Data" del propio "Report"... porque si tú usas "Record"... te estás refiriendo al registro que está "pasando" en ese momento, cada uno de ellos, por separado.

Tal vez deberías darle un par de vueltas a ver... acaso usando imágenes desde otra fuente... desde otra variable... o acaso usando la variable "Data" del report con "índices"... tendrías que darle un par de vueltas, como digo: acaso haya otra forma más sencilla de conseguir lo mismo o algo lo suficientemente similar.


DecSoft (In thread: Poner 2 imagenes seguidas en un Report)

Hola Jordi,

No sé si lo llego a entender del todo, puesto que, en efecto, las imágenes son elementos "en línea" (no "en bloque"), de modo que, si caben, no hay problema en mostrar dos o más imágenes "juntas". Por ejemplo, prueba el siguiente código HTML en la propiedad "Html" del Report que encontrarás en el ejemplo "Report7" que viene con AB:

Como verás, habiendo espacio para las dos imágenes, estas se mostrarán una al lado de la otra (si no hubiese espacio una pasaría a mostrarse debajo de la otra). He pensado que acaso fuese por los porcentajes, pero, el siguiente código también funciona como se espera (pruébalo en el mismo ejemplo "Report7"):

En fin, echa un vistazo y dime qué te parece: acaso no esté pillando el asunto bien: tal vez una captura de pantalla con un dibujo de lo que quieres conseguir ayudaría.


DecSoft (In thread: Opening URLs with default browsers)

Hello Asley,

Prevent the default behaviour of the back button cannot be more easy, just use the below code in the app's "BackButton" event:

However, maybe you already try something like that and cannot see it working... this is due to a bug in DecSoft App Builder, which is has been fixed right now, so, update your copy and try it, Asley.

P.S. Please, maintain different questions separated in different threads: don't hesitate to open all the threads that you needed! I know you add a second question to this thread because it's the "Email style", just reply with other question... but here in the forum, maintain different threads for different questions is good. :-)


DecSoft (In thread: New App Builder 2020.91)

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: Opening URLs with default browsers)

Hello Asley,

Maybe you want to investigate a bit more, for example, here in this Electron's issue. The basis can be the below piece of code:

Please, post here if you have any further questions!


DecSoft (In thread: New App Builder 2020.90)

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.89)

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: Share directamente en javascript)

Hola Juan,

Lamentablemente, es Facebook quien no soporta sino poder compartir una URL, de modo que en este caso se toma el argumento URL, pero, el texto, simplemente, se ignora, porque, no hay lugar donde situarlo en la URL "https://www.facebook.com/sharer/sharer.php", que, es la utilizada para "compartir en Facebook".

Si la app fuese híbrida (hasta ahora estoy enteniendo que no, que se trata de una app que correrá en un navegador), esto es, si se compilase con Apache Cordova, tal vez podría usarse algún plugin para Apache Cordova que ofreciese más opciones.

Facebook parece proporcionar también otra URL "para compartir" que tampoco admite texto alguno, pero, sí otros argumentos que acaso quisiera utilizar, Juan, eche un vistazo en este sitio web.


DecSoft (In thread: New App Builder 2020.88)

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: Share directamente en javascript)

Hola Juan,

Creo que podría añadirse, aunque, en efecto, en realidad no haría falta, esto es, añadir el soporte para Whatsapp implica únicamente utilizar esta URL: "https://api.whatsapp.com/send". Al menos acabo de probar que funciona bien en navegadores tanto de escritorio como para móviles. Es decir, se trataría de usar el siguiente código:

Con Telegram debe haber alguna URL similar que pudiera usarse... Por favor, pruébelo y pregunte aquí si tiene alguna duda.


DecSoft (In thread: Share directamente en javascript)

Hola Juan,

En principio, el código anterior funciona "tal cual", es decir, sin necesidad de control "Share" en la vista.


DecSoft (In thread: Abrir aplicacion en ELECTRON en un tamaño)

Hola Jordi,

Sí; echa un vistazo a las opciones de la app -> Cordova -> Electron -> Settings. Verás un par de enlaces / botones a izquierda y derecha: si pulsas el primero, obtendrás un ejemplo de configuración tal como el que ves abajo:

Si pulsas sobre el otro enlace / botón, verás documentación sobre las opciones de configuración.


DecSoft (In thread: Share directamente en javascript)

Hola Juan,

Si no me equivoco, lo siguiente podriá servirle:


DecSoft (In thread: Como recorrer los datos de un Report)

Hola Jordi,

No sé si lo entiendo bien, pero, para recorrer una variable "Report.Data" en AB1 podrías usar algo como lo siguiente:


DecSoft (In thread: App Builder 2020 for new project)

Hello Ryan,

Since what DecSoft App Builder produce is an HTML + CSS + JavaScript app, the answer is yes, you can edit and continue working "as is" with the produced app (files) without using the IDE, even when this, of course, is not the recommended way... if you use the IDE to create that app: but it's possible, if necessary.

P.S. I know you have licenses for both the previous generation and the new generation of DecSoft App Builder. Of course, the new generation is recomended for new proyects, 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 cookies only to store your preferences.

Ok! Hide this note More information