Re: Runtime design forms support



> a simple question. Is there any simple solution ot have a runtime designer
> for user UI? What do you suggest?

You can do this by streaming the form to disk (just as Delphi does at design
time). The basic technique is the same as for any streaming. You get the
object (here the form) and you save it to a stream. It will save all its
contained controls automatically and these can be reloaded subsequently.
Then all you have to do is provide a way of adding new controls at runtime
and setting properties (e.g. by moving or resizing controls). I have a
project somewhere that shows how to do all this stuff. If anyone's
interested let me know and I'll add it to the ever-growing list of articles
I plan to write "some time soon".... ;-)

best wishes
Huw Collingbourne
================================
Bitwise Magazine
www.bitwisemag.com
Dark Neon Ltd.
================================


.