Executed when the Find method is used
Member of Carousel Design Interface (PRIM_CARO.ICarouselDesign)
Name | Type | Data Type | Description |
---|---|---|---|
Result | *Result | Boolean | Return true if the item matches the specified key |
CarouselItem | *Input | PRIM_CARO.CarouselItem | Reference to the item performing the find |
Key | *Input | PRIM_VAR | Value being searched for |
The OnFind method is executed for each design instance when the FindItem method is used in the containing Carousel.
Redefine the method in the design reusable part. In this simple example, the item returns true if the Key is found in the employee name
Mthroutine Name(OnFind) Options(*redefine) #Result := #Surname.Contains( #Key ) *Or #Givename.Contains( #Key ) Endroutine
Febuary 18 V14SP2