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

# fz_fuim_script_item_encod_long

Description

Encodes a fuim item to a fzrt_int.
The fuim item (such as a checkbox) will be 'on' if (data_ptr & bit_mask == true_value), otherwise the fuim item will be 'off'.

Parameters

fuim_tmpl [Input]

fuim manager

item_id [Input]

item id of fuim item to encode

data_ptr [Input]

pointer to the data to encode

true_value [Input]

if TRUE, the true value of the encoding agrees with the bit mask, otherwise the true value is when the bit mask doesn't find the value

bit_mask [Input]

bit mask of value to encode

Returns

None

Availability

5.0.0.0