Hi, I just wonder why "with (auto p = new ...)" is not working. It would be some syntax sugar in this scenario:
with (auto p = new Panel()) { parent = this; text = "bla"; with (auto b = new Button()) { parent = p; // Here p is needed text = "bla2"; } } source\app.d(8): Error: expression expected, not 'auto' source\app.d(8): Error: found 'p' when expecting ')' source\app.d(8): Error: found '=' instead of statement ... Kind regards André