| Author |
Reset all controls
|
|
|
| Hi,
I have a delphi program with loads of controls and panels etc.. during
use of the program different panels become visible and loads of text
changes blah blah.
At the moment people are restarting the program to get back to the
initial state that it starts up in. I know i can write a huge
procedure resetting all the forms properties.... but i cant be
bothered lol - is there any way to do this.. such as
application.reload (i know that doesnt exist but something like that)
Any help would be appreciated greatly!!
Cheers
| |
| Richard C Haven 2004-06-09, 3:57 am |
| Are you asking how to reload the control properties from the design-time
settings in the DFM file?
Adam wrote:
> Hi,
>
> I have a delphi program with loads of controls and panels etc.. during
> use of the program different panels become visible and loads of text
> changes blah blah.
>
> At the moment people are restarting the program to get back to the
> initial state that it starts up in. I know i can write a huge
> procedure resetting all the forms properties.... but i cant be
> bothered lol - is there any way to do this.. such as
> application.reload (i know that doesnt exist but something like that)
>
> Any help would be appreciated greatly!!
>
> Cheers
| |
|
| That is *exactly* what i need to do. Is there a simple way of doing
this or am i gonna have to do a load of parsing and stuff..
Richard C Haven <richard.spalmless@santacruzsoftware.com> wrote in message news:<2bwxc.81930$0h6.70469@newssvr25.news.prodigy.com>...[color=darkred]
> Are you asking how to reload the control properties from the design-time
> settings in the DFM file?
>
> Adam wrote:
| |
|
| So can anyone help me with this??
Richard C Haven <richard.spalmless@santacruzsoftware.com> wrote in message news:<2bwxc.81930$0h6.70469@newssvr25.news.prodigy.com>...[color=darkred]
> Are you asking how to reload the control properties from the design-time
> settings in the DFM file?
>
> Adam wrote:
|
|
|
|