Page MenuHomeFeedback Tracker

ctrlDelete not deleting controls created in control groups using ctrlCreate
Closed, ResolvedPublic

Description

When creating a control using ctrlCreate and providing a previously created control group as a parameter, deleting the control is not possible with ctrlDelete. ctrlDelete returns false.

Details

Legacy ID
3947745172
Severity
None
Resolution
Open
Reproducibility
Always
Operating System
Windows 7
Category
Scripting
Steps To Reproduce

_group = (findDisplay 46) ctrlCreate ["RscControlsGroupNoScrollbars", -1];
_group ctrlSetPosition [0, 0, 1, 1];
_group ctrlCommit 0;
_background = (findDisplay 46) ctrlCreate ["RscBackground", -1, _group];
_background ctrlSetBackgroundColor [0, 0, 0, 0.5];
_background ctrlSetPosition [0, 0, 1, 1];
_background ctrlCommit 0;
hintSilent str (ctrlDelete _background);

Event Timeline

Einherj edited Steps To Reproduce. (Show Details)Jan 16 2015, 4:16 AM
Einherj edited Additional Information. (Show Details)
Einherj set Category to Scripting.
Einherj set Reproducibility to Always.
Einherj set Severity to None.
Einherj set Resolution to Open.
Einherj set Legacy ID to 3947745172.May 7 2016, 8:06 PM
Einherj edited a custom field.

Can confirm this. I realy hope this get fixed soon, for my project this is a real gamebreaker :/

Can confirm this as well

NerdMod added a subscriber: NerdMod.May 7 2016, 8:06 PM
Adanteh added a subscriber: Adanteh.May 7 2016, 8:06 PM

Please fix this.

This should be fixed now. Could anyone confirm please?

BIS_fnc_KK closed this task as Resolved.Dec 11 2016, 12:22 PM
BIS_fnc_KK edited Steps To Reproduce. (Show Details)
BIS_fnc_KK edited Additional Information. (Show Details)
BIS_fnc_KK set Operating System to Windows 7.