An MSpinFieldState defines the choices available in a given field of a spin button. This class does not specify how to calculate or store the choices. The spin field state can also control whether or not that field is editable.
TStandardSpinFieldState lets you construct a spin button without having to write any derived classes. It that contains a finite set of choices in a list. Obviously this is not an efficient solution for fields that have many options that are easily generated algorithmically.
A TSpinListIterator is also provided so that you can iterate through the choices.
[Contents]
[Previous]
[Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.