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

fz_fuim_new_text_static_edit

Description

Creates an edit field attached to 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.
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_text_static_edit(

fz_fuim_tmpl_ptr

fuim_tmpl,

short

parent,

short

text_id,

char *

text_str,

short

edit_id,

fzrt_int

edit_flags,

fz_fuim_item_func

item_func,

void *

item_data,

short *

edit_indx )

Parameters

fuim_tmpl [Input]

fuim manager

parent [Input]

parent group

text_id [Input]

text static item id

text_str [Input]

[Input, Optional]

Default Value: a text edit item without a name is created

edit_id [Input]

text edit item id

edit_flags [Input]

edit flags

item_func [Input, Optional]

item function

item_data [Input, Optional]

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

edit_indx [Result, Optional]

item id of edit fuim item

Returns

Static text item id

Availability

5.0.0.0

Function Set

fz_fuim_fset


Defined in

fz_fuim_api.h