Internet Direct (Indy)
Home
PreviousUpNext
TIdFormDataField.FieldStream Property

TStream associated with the contents of the form data field.

Pascal
property FieldStream: TIdStream;

FieldStream is a TStream property that represents an optional stream to use for the contents of the form data field. FieldStream accesses the object reference in FieldObject

Reading the value in FieldStream is valid only for TStream descendants stored in the FieldObject. Accessing a TStrings instance using FieldStream will raise an EIdInvalidObjectType exception. When FieldObject is unassigned, the value in FieldStream is Nil. 

Writing a value to FieldStream will store the TStream object reference in the FieldObject property.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.