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

fz_fuim_new_radio_text_static

Description

Creates a new radio button item with a static text item.
Pass FZ_FUIM_NONE for id to not assign a specific item id. An id will be created and assigned to the item and returned.
Pass FZ_FUIM_ROOT for parent if there is no parent group.
item_func is an optional function that is called to handle actions occurring to this item.

Plugin Prototype

short fz_fuim_new_radio_text_static(

fz_fuim_tmpl_ptr

fuim_tmpl,

short

parent,

short

radio_id,

char *

radio_str,

short

text_id,

char *

text_str,

fz_fuim_item_func

item_func,

void *

item_data,

short *

radio_indx,

short *

text_indx )

Parameters

fuim_tmpl [Input]

fuim manager

parent [Input]

parent group

radio_id [Input]

radio button item id

radio_str [Input]

radio button string

text_id [Input]

static text item id

text_str [Input, Optional]

radio button title

Default Value: a radio button item without a title is created

item_func [Input, Optional]

item function

item_data [Input, Optional]

data to pass to item function
if item_func is NULL, this is ignored

radio_indx [Result, Optional]

item id of radio item

text_indx [Result, Optional]

item id of static text item

Returns

Radio button id

Availability

5.0.0.0

Function Set

fz_fuim_fset


Defined in

fz_fuim_api.h