Navigation: ABC Library Reference > EditSpinClass > EditSpinClass Methods >====== EditSpinClass - Functional Organization - Expected Use ====== | |
As an aid to understanding the EditSpinClass it is useful to organize its methods into two large categories according to their expected use–the primary interface and the virtual methods. This organization reflects what we believe is typical use of the EditSpinClass methods.
Non-Virtual Methods
The Non-Virtual Methods, which you are likely to call fairly routinely from your program, can be further divided into three categories:
Housekeeping (one-time) Use:
Init (vi) | initialize the EditSpinClass object | |
Kill (vi) | shut down the EditSpinClass object |
Mainstream Use:
TakeEvent (vi) | handle events for the SPIN control |
Occasional Use:
CreateContol (v) | create the SPIN control | |
SetAlerts (vi) | alert keystrokes for the SPIN control |
(v) These methods are also virtual.
(i) These methods are inherited from the EditClass
Virtual Methods
Typically you will not call these methods directly–the Non-Virtual Methods call them. However, we anticipate you will often want to override these methods, and because they are virtual, they are very easy to override. These methods do provide reasonable default behavior in case you do not want to override them.
Init (i) | initialize the EditSpinClass object | |
CreateContol | create the SPIN control | |
SetAlerts (i) | alert keystrokes for the SPIN control | |
TakeEvent (i) | handle events for the SPIN control | |
Kill (i) | shut down the EditSpinClass object |