ValueSeg property

Examples


The ValueSeg property specifies the value of a segment in a composite field.

Syntax

field.ValueSeg (index) = [string_value]

Parameters

field – A composite window field object.

index – An integer specifying the segment.

string_value – A string specifying the value of the segment.

Comments

Use the ValueSeg property to set or return segment values after the composite gains focus (using the BeforeGotFocus, AfterGotFocus or BeforeUserChanged events). The composite gains focus when the user moves to the composite field, or when you programatically move the focus using the Focus method or FocusSeg method.


Documentation Feedback