lnbValue: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(add. classification)
No edit summary
Line 34: Line 34:
<dl class='command_description'>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->
It seems this command is don't have syntax in the arma-style (not work with control type).
However, you can use the lbValue.
Example (in the case of the 3 columns in the row):
        _rowSize = count getArray(
            missionConfigFile >> "RscMyDlg" >> "controls" >> "MyList" >> "columns"
        );
        _row = 12;
        _column = 2;
        _verificationValue = 9781;
        _ctrlMyList lnbSetValue [[_row, _column], _verificationValue];
        _value = _ctrlMyList lbValue (_row * _rowSize + _column);
        hint str (_verificationValue == _value); // hint true


[[User:DenV|DenV]]
<!-- Note Section END -->
<!-- Note Section END -->
</dl>
</dl>

Revision as of 02:16, 9 December 2009

Hover & click on the images for description

Description

Description:
Returns the additional integer value in the item with the given position of the 2D listbox.
Groups:
Uncategorised

Syntax

Syntax:
lnbValue [idc,[row,column]
Parameters:
[idc,[row,column]: Array -
Return Value:
Number

Examples

Example 1:
(example)

Additional Information

See also:
See also needed

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

Notes

It seems this command is don't have syntax in the arma-style (not work with control type). However, you can use the lbValue. Example (in the case of the 3 columns in the row): _rowSize = count getArray( missionConfigFile >> "RscMyDlg" >> "controls" >> "MyList" >> "columns" ); _row = 12; _column = 2; _verificationValue = 9781; _ctrlMyList lnbSetValue [[_row, _column], _verificationValue]; _value = _ctrlMyList lbValue (_row * _rowSize + _column); hint str (_verificationValue == _value); // hint true DenV

Bottom Section