Window.ContentsChanged event
From Xojo Documentation
Event
Fires when the value of the Changed property has changed. Changing the value of the Changed property triggers this event.
Fires when the value of the Changed property has changed. Changing the value of the Changed property triggers this event.