DtvLong dal_cch_set_tit (pr1, pr2)

Sets the field title of the passed field to the value that is entered in the field.

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.