[Pas2js] Error attributes to Event: TJSMouseEvent;

cbsistem cbsistem at yahoo.com.br
Tue Mar 23 03:26:38 CET 2021



my verion of trunk  Pas2JS Compiler version 2.1.1 [2021/03/22] for Linux
x86_64


//this event is NEVER RUN, even if it is linked Link.onclick: = @
DoLinkClick;  
-------------------------------------------------------------------------------------------------------------------
function TDemoForm.DoLinkClick(aEvent: TJSMouseEvent): boolean; 
begin
  
  Router.Push(string(aEvent.target['href']));  // not executed
end;





-----
Cristiano Barbosa
--
Sent from: http://pas2js.38893.n8.nabble.com/


More information about the Pas2js mailing list