Versions Compared

Key

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

...

In the AddEmployee routine, a data object is stored against a list item.

In ItemGotFocus event, the RelatedReference is retrieved and used to populate a detailer of some sort.

...

     Mthroutine Name(AddEmployee)
     Define_Map For(*Input) Class(#DataEmployee) Name(#Employee) Pass(*By_Reference)
 
        Add_entry To_list(#List)
        #List.Currentitem.RelatedReference <= #Employee
 
     Endroutine
 
     Evtroutine Handling(#List.ItemGotFocus)
 
        #Detailer.ShowEmployee((#list.CurrentItem.RelatedReference *as #DataEmployee))

...



...

Endroutine

See also

All Component Classes

Technical Reference