<div dir="ltr"><font face="monospace, monospace">Very much a newbie here.</font><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">I am getting compilation errors with the following code:</font></div><div><font face="monospace, monospace"><br></font></div><div><div><font face="monospace, monospace">fun main () : transaction page = return                                     </font></div><div><font face="monospace, monospace">     <xml></font></div><div><font face="monospace, monospace">         <body></font></div><div><font face="monospace, monospace">            <ccheckbox onchange={fn _ => alert "Changed!"}/></font></div><div><font face="monospace, monospace">         </body></font></div><div><font face="monospace, monospace">     </xml></font></div></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">The error is long winded but I think the important part is:</font></div><div><font face="monospace, monospace"><br></font></div><div><div><font face="monospace, monospace">   Need: </font></div><div><font face="monospace, monospace"><UNIF:U52::{Type}> ++ [Onchange = <UNIF:U69::Type> -> transaction {}]</font></div><div><font face="monospace, monospace">  Field:  #Onchange</font></div><div><font face="monospace, monospace">Value 1:  transaction {}</font></div><div><font face="monospace, monospace">Value 2:  <UNIF:U69::Type> -> transaction {}</font></div><div><font face="monospace, monospace">Incompatible constructors</font></div><div><font face="monospace, monospace">Have:  transaction {}</font></div><div><font face="monospace, monospace">Need:  <UNIF:U69::Type> -> transaction {}</font></div></div><div><br></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">(let me know if you need more of the error message)</font></div><div><br></div><div> </div><div>I did wonder if onchange is not supported for ccheckbox, but I found it used in the mvctodo split application in the template.ur file.</div><div><br></div><div>I have updated and checked that I am running the most recent version.</div><div><br></div><div>Can anyone explain what I have done wrong.</div><div><br></div><div>Many thanks,</div><div><br></div><div>Graham</div><div><br></div></div>