formZ SDK | 5.0 API Reference | System | Runtime Library (FZRT) | User Interface

fzrt_menu_set_item_text

Description

Sets the text of a menu item. This will set the menu item to the specified string. The string must be in C format, the index is 1-based

Plugin Prototype

fzrt_error_td fzrt_menu_set_item_text(

fzrt_menu_ptr

theMenu,

short

item,

const char *

itemString )

Parameters

theMenu [Input]

the menu pointer

item [Input]

the 1-based index of the menu item

itemString [Input]

pointer to a C string

Returns

FZRT_NOERR on success, error id otherwise

Availability

5.0.0.0

See Also

Function Set

fz_fzrt_ui_fset


Defined in

fzrt_api.h