OnFind Method

Visual LANSA Feature

OnFind Method

OnFind is executed when the Find method is used on the parent user designed control.

Each item is called in sequence, receiving the value to be tested and returning a boolean result.  Once a positive result is returned, the Find will end.  It can be started again from the item that returns the result.

Mthroutine Name(OnFind) Options(*Redefine)
#Result := #Surname.Contains( #Key )
Endroutine