OFPEC Forum
Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: L!nk on 12 Mar 2008, 17:38:30
-
How do I do this??
Doolittle does it in his CTI and I cant find his way. Any help?
When I double click on a list entry it must display the label of the list entry.
Thx,
L!nk
-
Add the onLBDblClick event handler to your listbox.
class YourDlg
{
... blah blah blah;
... blah blah blah;
class C_YOUR_LIST: RscListBox
{
... blah blah blah;
... blah blah blah;
onLBDblClick = "[""onLBDblClick"", _this] call YourDlgEventHandlerFunction";
};
};