Inserts a FieldChar in the collection. The character is inserted in the field value string and set to "certain".
This method is best used when one of these options is selected in the field definition:
(found on the tab in the dialog), and call this method before the field is mass verified. The advantage of using this method instead of just resetting the value string is that the FieldChars is preserved and the field can still be mass verified.
(found on the tab of the dialog).
Suggested usage is in the FormInterpreted event. In any event, do not use this method before that event has been fired.
Object.InsertFieldChar (Index, Value, Top, Left, Bottom, Right)
|
Part |
Data type |
Description |
|
Object |
Object |
An object expression that evaluates to one of these objects. |
|
Index |
Integer |
Zero-based index of the position where you want the new FieldChar to be inserted in the field’s value string. |
|
Value |
Integer |
ASCII value for the character. |
|
Top |
Integer |
Position of the top of the rectangle in pixels. |
|
Left |
Integer |
Position of the left side of the rectangle in pixels. |
|
Bottom |
Integer |
Position of the bottom of the rectangle in pixels. |
|
Right |
Integer |
Position of the right side of the rectangle in pixels. |
None.
This method changes the field value.