[Pas2js] TObject.Dispatch messages
    Michael Van Canneyt 
    michael at freepascal.org
       
    Tue Mar 12 13:48:33 CET 2019
    
    
  
On Tue, 12 Mar 2019, Michael Schnell wrote:
> Is this just a language feature or is some message ques infrastructure in place (implemented in library code or by some - to me unknown - API provided by the browser) ?
This is just a language feature.
> Are there any external sources for such messages such as key-pressed, mouse, TCP/IP activity, "ready" event from whatever functionality, software running outside of the browser, ... ?
No.
This is intended solely to make dispatching such external messages more easy.
So an 'onclick' event of the browser can now be sent to a TObject.Dispatch, which
will then pass it to the correct handler.
Michael.
    
    
More information about the Pas2js
mailing list