http://gambaswiki.org/bugtracker/edit?object=BUG.2192&from=L21haW4- Comment #5 by Benoît MINISINI: You are creating a UserContainer control, i.e. a Container, and you ask the IDE to draw it with a TextBox, which is not a Container. This is the reason why the IDE crashes.