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

# fz_fuim_script_new_slider_edit_pcent_double

Description

Creates a slider item with a text edit item using a double for the range where the range value is different from the display range value. The range values [min, max] are mapped to the display values [pmin, pmax].
An id will be created and assigned to the item.
Pass FZ_FUIM_ROOT for parent if there is no parent group.

Parameters

fuim_tmpl [Input]

fuim manager

parent [Input]

parent group

titl_str [Input, Optional]

slider title

Default Value: a slider item without a name is created

data_ptr [Input]

pointer to the data

min [Input]

minimum value of slider (range value)

max [Input]

maximum value of slider (range value)

pmin [Input]

minimum value of slider (display value)

pmax [Input]

maximum value of slider (display value)

range_flags [Input]

range flags

Bit Flag Type: fz_fuim_range_enum

text_item [Result, Optional]

text edit item id

Returns

Static text item id

Availability

5.0.0.0