[SOLVED] Setting the Html control's content


Samuel Vanneste

Hello David,
By chance, I noticed that the sample provided in the Help file for HtmlContent is no more working

I have tried with a new app (attached). It seems that we have lost the "direct injection" but it still works using a Variable set to be the content of the control.

Or perhaps is it just me ? I can not see it in the Variable's selector (Controls), too.
For information only


DecSoft

Hello Samuel,

Yes; I think this is some "old record" in the help file from lots of releases a go. Thanks because I fix it and the next AB release clarify the things. The HTML Content control does not provide an "HTML" variable for us in runtime, only in designtime. Inside that variable we can put one or more others, then the SimpleGet action works in this manner, for example:

If "[MyHtmlContentVar]" is used in the HTML Content control, then they are updated accordingly with the result of the SimpleGet action.


Todo el mundo puede leer el foro de soporte de DecSoft para aprender del mismo, sin embargo, sólo los clientes de DecSoft pueden abrir nuevos hilos. Compre una o más licencias de productos de DecSoft y obtendrá este y otros beneficios.

Este sitio usa cookies sólo para guardar sus preferencias.

¡Vale! Ocultar esto Más información