TxdsControlsStates Component
<HowTo> < Buy Source Code> < Download Component> < www.xdenser.com>TxdsControlsStates is Delphi Component to store states of controls and components on your form to recall later during run-time.
Let's consider follwoing scenario for example:
You have to disable some controls on your form and enable others according to user input. What do you do in that case? Someting like this:
or
or something similar divided into several event handlers.
TxdsControlsStates allows you to eliminate that series of assignments and replace it with
single method call to
TxdsControlsStates.RestoreState(StateName:String);
The set of Component Properties and States are defined during design-time in property editor.