Quote: |
2. I didn't look in deep of new release. But what I missed in older version is a style for StatusBar and something for "CoolBar" (the docking panel where windows toolbars are placed). I know, there is still no CoolBar and no Docking ability in upp for now. But maybe the style could be included and for example be assigned on a dummy StaticRect or something else. |
Quote: |
3. I put also my third question here, but its not really a chameleon topic: I want create widgets at runtime. Creation is not the problem (I think) - but how to iterate over all widgets of a window for example? |
Quote: |
How to detect its class? |
Quote: |
The reason is simple: I have to collect input data of all edit fields - but because they are created by code I need a solution to iterate over all fields on a window. |
Vector<Value> GetAllData(Ctrl *parent) throw (ValidationException) { Vector<Value> data; for (Ctrl *c = parent->GetFirstChild(); c; c->GetNext()) { if (c->GetFirstChild()) data.Append(GetAllData(c)); else { Value v = c->GetData(); if (v.IsError()) throw ValidationException(c); else if (!v.IsVoid) // Prevents empty values data.Add(v); } } return data; }