Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

JavaScript executes in a single thread meaning that the browser User Interface will not change until processing completes. Consider this block of code.


     Evtroutine Handling(#List.ItemGotFocus)      

#Details.visible := False   
#GetData.Execute(#Data)   
#Details.visible := True  

Endroutine

When the event fires, you might expect #Details to disappear from view, but the synchronous nature of the processing means that the property will be set to false and then set back to true before the User Interface has a chance to update.

...