Task.UpdateUI event

From Xojo Documentation

Event


Task.UpdateUI(args As Dictionary)

Supported for all project types and targets.

In this event handler, you can do user interface updates. This is called by calling the UpdateUI method.

Notes

You can supply a variety of values (as a Dictionary that you can use to determine what to update and how to update it.


Example

This code checks for passed value to use to update a ProgressBar on the Window:

If args.HasKey("UIProgress") Then
UIProgress.Value = args.Value("UIProgress").IntegerValue
End If