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

# fz_fuim_item_func

Description

This function is called to handle events that happen to an item.
It is passed in the item_func parameter of the any of the functions that start with fz_fuim_new_.
Not all action types have to be handled in the function.

Plugin Prototype

short fz_fuim_item_func(

fz_fuim_tmpl_ptr | fuim_tmpl,
fzrt_int | action,
short | item_id,
void * | func_data,
fz_fuim_type_td * | rv_data )

Parameters

fuim_tmpl [Input]

fuim manager

action [Input]

type of action that occurred

item_id [Input]

index of the item that an action occurred

func_data [Input]

data to pass to the item function

rv_data [Result]

return value for the action

Returns

TRUE if the action was handled successfully, FALSE if it was not successful.

Availability

5.0.0.0

See Also

fz_fuim_new_button, , fz_fuim_new_check_edit, , , fz_fuim_new_divider, fz_fuim_new_frame_group, fz_fuim_new_icon2, fz_fuim_new_icon3, fz_fuim_new_icon_anim2, fz_fuim_new_icon_anim_obsolete, fz_fuim_new_icon_obsolete, fz_fuim_new_image, , , , fz_fuim_new_radio_text_edit, , , fz_fuim_new_slid_edit_double, , , , , fz_fuim_new_slid_edit_pcent_int, , , fz_fuim_new_slider_anim, fz_fuim_new_slider_edit_pcent_double_anim, fz_fuim_new_slider_edit_pcent_float_anim, , , fz_fuim_new_text_edit_anim, fz_fuim_new_text_info_char, fz_fuim_new_text_info_double, fz_fuim_new_text_info_float, , , , fz_fuim_new_text_info_uint, fz_fuim_new_text_info_ushort, , fz_fuim_objt_parm_result_regen

Defined in

fz_fuim_api.h