Page MenuHomeFeedback Tracker

lbText is broken
Feedback, NormalPublic

Description

In version 2.06, the lbText command was broken
In syntax below does not work

lbtext[38510 ,(lbCurSel 38510)]

And this is how it works

_control lbText _index

I have not tested other commands yet, but most likely this is not one broken command, since the infistar product turned out to be completely broken, also a little of my code, where I used this syntax everywhere, turned out to be broken!

Details

Severity
Major
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
Scripting

Event Timeline

BIS_fnc_KK removed BIS_fnc_KK as the assignee of this task.EditedAug 28 2021, 3:35 PM
BIS_fnc_KK changed the task status from New to Feedback.
BIS_fnc_KK added a subscriber: BIS_fnc_KK.

To test:

[] spawn 
{
	sleep 2;
	createDialog "RscDisplayEmpty";
	private _disp = findDisplay -1;
	_disp ctrlCreate ["RscListBox", 38510];  
	lbClear 38510;
	private _index = lbAdd [38510, "a row"]; 
	lbSetCurSel [38510, _index]; 
	systemchat str (lbtext[38510 ,(lbCurSel 38510)]);
	lbSetText [38510, _index, "lalala"];  
	systemchat str (lbtext[38510 ,(lbCurSel 38510)]);
};