Input Parameters | Significance |
char *pr1 | standard parameter from Sel_Action trigger |
char *pr2 | name of the field for changing the title |
Output Parameters | Significance |
none | - |
Return Code | Significance |
0 | all ok |
1 | no widget active or wrong parameter passing |
2 | field does not exist in mask |
Can be called as Sel_Action userexit at any mask where records can be selected or scrolled.
The userexit is especially useful for the record-dependent display of images in forms. To do so, a separate data field must be defined to hold the corresponding image file name using the syntax: #filename. The userexit will then output the image file in the field title at the trigger moment.