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

# fz_fuim_list_click_edit_func

Description

The list click edit callback function.
This callback is designed to return whether the text in a selected cell is editable.
Both this callback and fz_fuim_list_set_string_func must be defined in order to allow for strings to be edited in the list. The click edit callback is called first, to verify if the selected cell can be edited. If so, the user is able to edit the text. When the user is done, the set string callback is called to update the text of the cell.
row_indx is the index to the row item and will always be greater than or equal to 0 and less than the number of items in the list.
col_indx is the index to the column and will always be greater than or equal to 0 and less than the number of columns in the list.
Return whether the text in the cell is editable in editable.

Plugin Prototype

fzrt_error_td fz_fuim_list_click_edit_func(

fz_fuim_tmpl_ptr | fuim_tmpl,
fz_fuim_list_ptr | list_ptr,
fzrt_int | row_indx,
fzrt_int | col_indx,
fzrt_boolean * | editable )

Parameters

fuim_tmpl [Input]

fuim manager

list_ptr [Input]

list pointer

row_indx [Input]

row index

col_indx [Input]

column index

editable [Result]

is the text editable
TRUE if editable, FALSE otherwise

Returns

Error codes

Availability

5.0.0.0

See Also

, fz_fuim_list_set_string_func

Defined in

fz_fuim_list_api.h