List
- Last UpdatedOct 25, 2022
- 1 minute read
The List callback is called when an attached List or ComboBox tool populates itself. It can be used to update the contents of the tool dynamically by returning argument !args[0] as an ARRAY containing members of the list as follows:
define method .List(!args is ARRAY)
!a = object array()
!a[0] = 'a'
!a[1] = 'b'
!a[2] = 'c'
!args[0] = !a
endmethod