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.
Description
Description
Details
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
Comment Actions
Can confirm this. I realy hope this get fixed soon, for my project this is a real gamebreaker :/