When I am dealing with a group of data-aware controls, I can easily
make data updates look much better by using DisableControls /
EnableControls in a try / finally block.

I have several transforms done to an entire screen that I would like
to be able to do the same thing.  For example, when going from browse
mode to edit mode, I change colors, read only and enable states, add
tabs, etc.  In some cases, due to calculation times and database
fetches, it may take 1/2 to 1 second to make the change (this is
entirely acceptable to me.)   However, some controls change
immediately, and some change at the end of the process.  I would like
to freeze the entire screen and then unfreeze it when the transforms
have all been made making it look like it is more professional.

Is there any way to do this?  Essentially, I want a DisableForm /
EnableForm like the TDataSet has.  I would also like to be able to
send ProcessMessage() so if the entire window is moved or another
window is moved, the app does not look like it is frozen.

Delphi 5 Pro, ADO, and a bunch of 3rd party controls.

Any ideas?

Thanks
jamie





-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/delphi-en/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to