EditTextClass Methods

Top  Previous  Next

The EditTextClass inherits all the methods of the EditClass from which it is derived. See EditClass Methods and EditClass Concepts.

In addition to (or instead of) the inherited methods, the EditTextClass contains the following methods:

CreateControl (create the edit-in-place control:EditTextClass)

TakeEvent (process edit-in-place events:EditTextClass)

See Also:

EditTextClass: Functional Organization—Expected Use

EditTextClass: Functional Organization—Expected Use

As an aid to understanding the EditTextClass 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 EditTextClass 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:

 

InitVI

initialize the EditTextClass object

 

KillVI

shut down the EditTextClass object

Mainstream Use:

 

TakeEventVI

handle events for the edit control

Occasional Use:

 

CreateControlV

create the edit (COMBO) control

 

SetAlertsVI

alert keystrokes for the edit 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

initialize the EditTextClass object

 

CreateContol

create the edit COMBO control

 

SetAlerts

alert keystrokes for the edit control

 

TakeEvent

handle events for the edit control

 

Kill

shut down the EditTextClass object