Re: Runtime design forms support
- From: "Huw Collingbourne" <huw@xxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 31 Jan 2006 10:17:50 -0000
> 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.
================================
.
- Follow-Ups:
- Re: Runtime design forms support
- From: Stephane Wierzbicki
- Re: Runtime design forms support
- References:
- Runtime design forms support
- From: Frenk
- Runtime design forms support
- Prev by Date: Re: Delphi 200x Linux ???
- Next by Date: Re: Delphi 200x Linux ???
- Previous by thread: Re: Runtime design forms support
- Next by thread: Re: Runtime design forms support
- Index(es):