ValueSeg property


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


field.ValueSeg (index) = [string_value]


field – A composite window field object.

index – An integer specifying the segment.

string_value – A string specifying the value of the segment.


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