PreviousActiveX Controls Guide (9.1 revision 1) Next

VAText

Show this topic in Library frames

Description

The VAText control displays and allows a user to edit the value of a field.

Remarks

The data source for a VAText Control is determined by the setting of the VAccessName property.

The field source is bound by setting the VAFieldName property to the name of a field in the data source.

As with other bound controls, changes made in the text box are reflected in the data buffer in memory but are not written to the file until an update or insert operation is performed on the current record.

If the VASearch property of the text box is True, changes in the text box will cause a repositioning of the current record using the value of the text in the text box as the first segment of the current index. You may use a text box in search mode in conjunction with a VAList in record list mode to implement a record browser or lookup table.

Custom Properties and Methods

Properties and a method for this control are listed in the following tables:

Table 4-11 VAText Custom Properties
AutoScroll
VAccessName
VAFieldName
VASize
FocusSelText
VADataType
VAFormat
WantReturn
LockedMaxLength
VADebugMode
VAOffset
 
Uppercase
VADecimal
VASearch
 

Table 4-12 VAText Custom Method
AboutBox
     


Chapter contents
Publication contents

Prev topic: VAOption
Next topic: Properties, Methods, and Events By Category