For Programmers: Free Programming Magazines  


Home > Archive > Delphi > June 2004 > Reset all controls









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Reset all controls
Adam

2004-06-08, 8:57 am

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

Adam

2004-06-10, 8:57 am

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:
Adam

2004-06-25, 7:47 pm

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:
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com