BIS fnc initListNBoxSorting: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *(\[\[[a-zA-Z ]+\]\].+) \|x1=" to " |r1=$1 |x1=")
m (Text replacement - " \| *(\[[a-zA-Z,. ]*\] call ('''|\[\[)?BI(N|S)_fnc_[a-zA-Z]+('''|\]\])?) * \|p1=" to " |s1=$1 |p1=")
Line 19: Line 19:
[[Image:A3_BIS_fnc_initListNBoxSorting_example.jpg|400px|thumb|center|Example GUI using this function]]
[[Image:A3_BIS_fnc_initListNBoxSorting_example.jpg|400px|thumb|center|Example GUI using this function]]


| [controlFilter, controlContent, columnIndexes, idc] call [[BIS_fnc_initListNBoxSorting]]
|s1=[controlFilter, controlContent, columnIndexes, idc] call [[BIS_fnc_initListNBoxSorting]]


|p1= controlFilter: [[Control]] - Dummy [[CT_LISTNBOX]] control used for setting up the filter. If parameter is [[controlNull]] function will show an error message.
|p1= controlFilter: [[Control]] - Dummy [[CT_LISTNBOX]] control used for setting up the filter. If parameter is [[controlNull]] function will show an error message.

Revision as of 15:55, 12 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
GUI

Syntax

Syntax:
[controlFilter, controlContent, columnIndexes, idc] call BIS_fnc_initListNBoxSorting
Parameters:
controlFilter: Control - Dummy CT_LISTNBOX control used for setting up the filter. If parameter is controlNull function will show an error message.
controlContent: Control - The CT_LISTNBOX which actually contains the content. If parameter is controlNull function will show an error message.
columnIndexes: Array - Array of numbers. These are the indexes of the controlContent which should be filterable/sortable
idc: Number - (Optional, default 200) Will be used to assign idcs to the buttons which are automatically created. First button has idc, second button idc + 1 and so on
Return Value:
Boolean - true on success, otherwise false

Examples

Example 1:
[_lnbFilter, _lnbContent, [0,1,2,3]] call BIS_fnc_initListNBoxSorting;

Additional Information

See also:
BIS_fnc_initSliderValue

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note