Added ExAd_fnc_createCombo

This commit is contained in:
Bjanski 2016-07-28 10:57:16 +02:00
parent 3463f534da
commit d113445fef
2 changed files with 10 additions and 0 deletions

View File

@ -23,6 +23,7 @@ file = "ExAdClient\XM8\Functions";
class createBackgroundGUI {};
class createButton {};
class createCheckBox {};
class createCombo {};
class createCtrlGrp {};
class createEdit {};
class createExtraApps {};

View File

@ -0,0 +1,9 @@
params ["_display","_parent","_idc","_position","_actionOnSelChanged","_tooltip","_ctrl"];
_ctrl = _display ctrlCreate ["RscCombo",_idc,_parent];
_ctrl ctrlSetPosition _position;
_ctrl ctrlSetEventHandler ["LBSelChanged",_actionOnSelChanged];
_ctrl ctrlSetTooltip _tooltip;
_ctrl ctrlCommit 0;
_ctrl