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

fz_fuim_list_set_colm_width

Description

Sets the width of a column in pixels.
The width is changed by the moving of the divider bar to the right of the column. If the selected width is smaller than the minimum, the width will be set to the minimum. If the selected width will make the column to the right smaller than its minimum, the width will be set to the maximum it is allowed.
If the column has a title, the minimum is the width of the title. Otherwise, the minimum is a set number of pixels.
The column farthest to the right can't have its width changed. (If that column's width needs to be changed, change the width on the column to its left.)
This function has no effect on lists with one column.

Plugin Prototype

fzrt_error_td fz_fuim_list_set_colm_width(

fz_fuim_tmpl_ptr

fuim_tmpl,

fz_fuim_list_ptr

list_ptr,

fzrt_int

col_indx,

fzrt_int

width )

Parameters

fuim_tmpl [Input]

fuim manager

list_ptr [Input]

list pointer

col_indx [Input]

column index

width [Input]

width of column

Returns

Error codes

Availability

5.0.0.0

See Also

fz_fuim_list_get_colm_width

Function Set

fz_fuim_fset


Defined in

fz_fuim_list_api.h