[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.


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 some useful cookies to store your preferences.

I agree. Hide this note. Give me more information.