That's the reason why you could not see a change.In case of doubt, we recommend reading code inherited from aw.vcx!aw??? where you can find some documentation and code samples. We view this as the best place where documentation can be, as you can access it at any time while coding.
Another hint is in the .wcHTML property description: "cf. this.wcHTMLgen()"
Feel free to suggest how this documentation could better fit your needs
I was setting it at design time by just changing the property. I did not run any code.
This code works on
http://foxincloud.com/demos.php (v 1.10), 'Clients' label
LPARAMETERS toHTML AS awHTMLGen of awHTML.prg, tlInnerHTML
this.wcHTML = Textmerge([<p class="red" title="Ce label a généré son propre HTML spécifique / This label generated its own specific HTML" ></p>])
Could you by any chance post your code ?
this.wcHTML does not replace the generated HTML when I do it. If I put something like:
wcHTML='<input blah blah><some tag><some tag 2>'
Nothing changed in the generattion.
this.wcHTML = "custom HTML to replace generated HTML"
toHTMLgen.cHTMLadd = "HTML to be added to generated HTML"
toHTMLgen.lHTMLaddInside = <if this a containing element, add toHTMLgen.cHTMLadd inside generated HTML>
I ended up ding this in wcHTMLgen:
toHTMLgen.cHTMLadd = "My new HTML"
But then what use is the wcHTML property?
Version 1.10 has changed nothing in this process
Can you post your wcHTMLgen() code?
I thought I had done this previously, maybe something changed in 1.10 or I forgot how I did it. I want to put my own HTML in a control instead of the FiC generated HTML.
I filled in he property wcHTML, but still the FiC standard HTML generates and not my HTML. What did I miss?
-- thn (FoxInCloud)