Hi Reuben.
I've been playing around with this and it works fine (mostly).
However, if I try to set the content of the WC in BEFORE INPUT (rather than ON ACTION) it crashes:
INPUT BY NAME wc ATTRIBUTES(WITHOUT DEFAULTS=TRUE, UNBUFFERED)
before input
CALL ui.Interface.frontCall("webcomponent","call",["formonly.wc","set_content",rich_text],[])
ON ACTION show ATTRIBUTES(TEXT="Show Content")
CALL ui.Interface.frontCall("webcomponent","call",["formonly.wc","show_content"],[])
ON ACTION get ATTRIBUTES(TEXT="Get Content")
CALL ui.Interface.frontCall("webcomponent","call",["formonly.wc","get_content"],[rich_text])
DISPLAY rich_text
AFTER INPUT
IF int_flag THEN
EXIT INPUT
END IF
END INPUT
Program stopped at 'wc_tinymce.4gl', line number 22.
FORMS statement error number -6333.
Front end function call failed.
Reason:undefined is not an object (evaluating 'n.parser.parse')
Do you have Idea what might be going on?
Regards,
-Snorri