formZ SDK | 5.0 API Reference | System | User Interface (FUIM) | Templates

# fz_fuim_tmpl_set_ok_func

Description

Sets an OK action function. This function is called when the user selects the OK button in a dialog or after any click occures in a palette. This function should perform any required actions in response to the user selecting the OK button.

Plugin Prototype

void fz_fuim_tmpl_set_ok_func(

fz_fuim_tmpl_ptr | fuim_tmpl,
fz_fuim_tmpl_actn_func | ok_func,
void * | ok_data )

Parameters

fuim_tmpl [Input]

fuim manager

ok_func [Input]

ok function

ok_data [Input, Optional]

pointer to data to pass to the ok function.

Returns

None

Availability

5.0.0.0

See Also

fz_fuim_tmpl_set_cancel_func, fz_fuim_tmpl_set_reset_func

Function Set

fz_fuim_fset

Defined in

fz_fuim_api.h